From fa905256afaa1803595e4248c35c7592be956de8 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Tue, 20 Oct 2026 17:38:48 +0000 Subject: [PATCH] proto.rune.tx.new: include memo in TxID for deposit transactions (bugfix) Fixes a bug whereby all memoless registration transactions had the same MMGen TxID. --- mmgen/proto/rune/tx/new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmgen/proto/rune/tx/new.py b/mmgen/proto/rune/tx/new.py index 4eeadaa0..38229d94 100644 --- a/mmgen/proto/rune/tx/new.py +++ b/mmgen/proto/rune/tx/new.py @@ -40,7 +40,7 @@ class New(VmNew, Base, TxBase.New): def update_txid(self): return super().update_txid( self.serialized | - ({'memo': self.swap_memo} if self.is_swap else {})) + ({'memo': self.swap_memo} if self.is_swap or self.is_deposit else {})) async def make_txobj(self): # called by create_serialized() acct_info = self.rpc.acct_info(self.inputs[0].addr)