XMR autosign: fix post-signing display of transaction data

Data from the unsigned transaction instead of the signed one was being
displayed.  In particular, the transaction ID as shown was incorrect.
This commit is contained in:
The MMGen Project 2026-11-01 12:51:06 +00:00
commit 94816c69fe
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 3 additions and 2 deletions

View file

@ -287,6 +287,7 @@ class Signable:
async def sign(self, f, compat_call=False):
tx1 = UnsignedTX(cfg=self.parent.xmrwallet_cfg, filename=f, quiet_open=True)
tx2 = SignedTX(cfg=self.parent.xmrwallet_cfg, data=tx1.__dict__, automount=self.automount)
del tx2._compat_tx # force cached property to reload the underlying data
tx2.compat_data = await self.do_sign(f, compat_call=compat_call, silent_load=True)
tx2.file.write(ask_write=False, outdir=self.dir)
return tx2

View file

@ -1 +1 @@
October 2026
November 2026

View file

@ -1 +1 @@
16.3.0dev23
16.3.0dev24