re-set channel on txo

This commit is contained in:
Lex Berezhny 2020-05-18 12:27:22 -04:00
parent ff8a50c366
commit 590c892a6a

View file

@ -703,8 +703,10 @@ class Ledger(metaclass=LedgerRegistry):
# we don't want to leak informaion between wallet so we add the
# wallet specific metadata on throw away copies of the txos
txo = copy.copy(txo)
channel = txo.channel
txo.purchase_receipt = None
txo.update_annotations(None)
txo.channel = channel
txos.append(txo)
includes = (