Fix autowithdrawal error log
This commit is contained in:
parent
538f1e21d6
commit
9587ff9a52
|
@ -281,7 +281,7 @@ async function checkWithdrawal ({ data: { hash }, boss, models, lnd }) {
|
|||
if (code === 0 && dbWdrwl.wallet) {
|
||||
// add error into log for autowithdrawal
|
||||
await addWalletLog({
|
||||
wallet: dbWdrwl.wallet.type,
|
||||
wallet: dbWdrwl.wallet,
|
||||
level: 'ERROR',
|
||||
message: 'autowithdrawal failed: ' + message
|
||||
}, { models, me: { id: dbWdrwl.userId } })
|
||||
|
|
Loading…
Reference in New Issue