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) {
|
if (code === 0 && dbWdrwl.wallet) {
|
||||||
// add error into log for autowithdrawal
|
// add error into log for autowithdrawal
|
||||||
await addWalletLog({
|
await addWalletLog({
|
||||||
wallet: dbWdrwl.wallet.type,
|
wallet: dbWdrwl.wallet,
|
||||||
level: 'ERROR',
|
level: 'ERROR',
|
||||||
message: 'autowithdrawal failed: ' + message
|
message: 'autowithdrawal failed: ' + message
|
||||||
}, { models, me: { id: dbWdrwl.userId } })
|
}, { models, me: { id: dbWdrwl.userId } })
|
||||||
|
|
Loading…
Reference in New Issue