1
0

wallet: merge mktx and create_transaction

This commit is contained in:
SomberNight
2023-10-10 17:45:26 +00:00
parent f4997c3771
commit 57d2efc88d
6 changed files with 50 additions and 60 deletions

View File

@@ -211,9 +211,11 @@ class ElectrumGui(BaseElectrumGui, EventListener):
if c == "n": return
try:
tx = self.wallet.mktx(outputs=[PartialTxOutput.from_address_and_value(self.str_recipient, amount)],
password=password,
fee=fee)
tx = self.wallet.create_transaction(
outputs=[PartialTxOutput.from_address_and_value(self.str_recipient, amount)],
password=password,
fee=fee,
)
except Exception as e:
print(repr(e))
return