Skip to content

wallet: make_unsigned_tx: fix base_tx for GUI simple-send batching#10591

Merged
SomberNight merged 1 commit intospesmilo:masterfrom
SomberNight:202604_fix_wallet_mktx_base_tx
Apr 24, 2026
Merged

wallet: make_unsigned_tx: fix base_tx for GUI simple-send batching#10591
SomberNight merged 1 commit intospesmilo:masterfrom
SomberNight:202604_fix_wallet_mktx_base_tx

Conversation

@SomberNight
Copy link
Copy Markdown
Member

fixes regression from a9f20e4 : For the GUI / manual new tx constructions usecase, the flow relies on base_tx.add_info_from_wallet(self) being called before base_tx_fee = base_tx.get_fee().

fixes regression from spesmilo@a9f20e4 :
For the GUI / manual new tx constructions usecase, the flow relies on `base_tx.add_info_from_wallet(self)` being called before `base_tx_fee = base_tx.get_fee()`.

fixes spesmilo#10587
maybe fixes spesmilo#8876
    probably not a full fix: base_tx could have inputs for which add_info_from_wallet is not sufficient
@SomberNight SomberNight added the topic-wallet 👛 related to wallet.py, or maybe address_synchronizer.py/coinchooser.py label Apr 19, 2026
@f321x
Copy link
Copy Markdown
Member

f321x commented Apr 24, 2026

Can reproduce the crash (and the fix). Makes sense to populate the inputs values before calling get_fee().

@SomberNight SomberNight merged commit b9dc6aa into spesmilo:master Apr 24, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-wallet 👛 related to wallet.py, or maybe address_synchronizer.py/coinchooser.py

Projects

None yet

2 participants