feat: add transaction details

This commit is contained in:
Matthew
2024-04-06 21:25:43 -05:00
parent aa035588a0
commit ab9763bb58
8 changed files with 58 additions and 12 deletions

View File

@@ -32,8 +32,8 @@ class LiveWalletTest(unittest.TestCase):
print(f"Transactions count: {len(wallet.transactions())}")
transactions = wallet.transactions()[:3]
for tx in transactions:
sent_and_received = wallet.sent_and_received(tx)
print(f"Transaction: {tx.txid()}")
sent_and_received = wallet.sent_and_received(tx.transaction)
print(f"Transaction: {tx.transaction.txid()}")
print(f"Sent {sent_and_received.sent}")
print(f"Received {sent_and_received.received}")