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.
This commit is contained in:
parent
29c5ea22db
commit
fa905256af
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue