You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reason: the Abstract_Wallet.get_spendable_coins(…) function gets called without explicitly specifying the confirmed_only argument here and in the method Abstract_Wallet.get_spendable_coins(…)the default value for confirmed_only is False
Expected behaviour:
when config parameter confirmed_only is set to True and transactions are created via RPC payto/paytomany call, the method Abstract_Wallet.get_spendable_coins(…) should be called with confirmed_only: True, so that no unconfirmed coins are used in the transaction.
Optionally: provide a commandline argument to override the config parameter confirmed_only on a per transaction base
Bug:
confirmed_onlyConfig parameter allows to define unconfirmed utxos should be included when creating transactions or notpaytoorpaytomanyopen_channelandnormal_swapalso are affectedelectrum/wallet.pyAbstract_Wallet.get_spendable_coins(…)function gets called without explicitly specifying theconfirmed_onlyargument here and in the methodAbstract_Wallet.get_spendable_coins(…)the default value forconfirmed_onlyisFalseExpected behaviour:
confirmed_onlyis set toTrueand transactions are created via RPCpayto/paytomanycall, the methodAbstract_Wallet.get_spendable_coins(…)should be called withconfirmed_only: True, so that no unconfirmed coins are used in the transaction.confirmed_onlyon a per transaction base