1
0

wallet: towards killing create_transaction: rm "sign" arg

This commit is contained in:
SomberNight
2025-03-14 16:44:46 +00:00
parent fddd4275aa
commit 3c3778db9c
8 changed files with 45 additions and 41 deletions

View File

@@ -214,9 +214,9 @@ class ElectrumGui(BaseElectrumGui, EventListener):
try:
tx = self.wallet.create_transaction(
outputs=[PartialTxOutput.from_address_and_value(self.str_recipient, amount)],
password=password,
fee_policy=FixedFeePolicy(fee),
)
self.wallet.sign_transaction(tx, password)
except Exception as e:
print(repr(e))
return