From b61c957cc7b12a5ba5c4d3cff1f5611cb74e7f0e Mon Sep 17 00:00:00 2001 From: k00b Date: Mon, 21 Oct 2024 11:49:16 -0500 Subject: [PATCH] fix missing field from merge conflict resolution --- wallets/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wallets/index.js b/wallets/index.js index 07fce375..b0079594 100644 --- a/wallets/index.js +++ b/wallets/index.js @@ -293,7 +293,7 @@ function useConfig (walletDef) { // check if it misses send or receive configs const isReadyToSend = canSend && isConfigured({ fields: walletDef.fields, config: newConfig, clientOnly: true }) const isReadyToReceive = canReceive && isConfigured({ fields: walletDef.fields, config: newConfig, serverOnly: true }) - const { autoWithdrawThreshold, autoWithdrawMaxFeePercent, priority, enabled } = newConfig + const { autoWithdrawThreshold, autoWithdrawMaxFeePercent, autoWithdrawMaxFeeTotal, priority, enabled } = newConfig // console.log('New client config', newClientConfig) // console.log('New server config', newServerConfig) @@ -323,6 +323,7 @@ function useConfig (walletDef) { settings: { autoWithdrawThreshold: Number(autoWithdrawThreshold == null ? autowithdrawSettings.autoWithdrawThreshold : autoWithdrawThreshold), autoWithdrawMaxFeePercent: Number(autoWithdrawMaxFeePercent == null ? autowithdrawSettings.autoWithdrawMaxFeePercent : autoWithdrawMaxFeePercent), + autoWithdrawMaxFeeTotal: Number(autoWithdrawMaxFeeTotal == null ? autowithdrawSettings.autoWithdrawMaxFeeTotal : autoWithdrawMaxFeeTotal), priority, enabled },