1
0

Merge branch 'local_tx'

This commit is contained in:
ThomasV
2018-01-30 00:22:02 +01:00
4 changed files with 61 additions and 21 deletions

View File

@@ -632,7 +632,6 @@ class Commands:
@command('w')
def addtransaction(self, tx):
""" Add a transaction to the wallet history """
#fixme: we should ensure that tx is related to wallet
tx = Transaction(tx)
self.wallet.add_transaction(tx.txid(), tx)
self.wallet.save_transactions()