Skip to content

Commit

Permalink
Merge #1681: Fix `jm_single().bc_interface.get_deser_from_gettransact…
Browse files Browse the repository at this point in the history
…ion()` call

3317b0b Fix jm_single().bc_interface.get_deser_from_gettransaction call (Kristaps Kaupe)

Pull request description:

  fab97a0#r139364262

Top commit has no ACKs.

Tree-SHA512: c8aada665ebb930eba85e06a41eb53698a822f64d93da4621a8b89de61486011af2ab5e5d076ee681a1b3ce441b593e1e365c1832fbf6fc38c770a5e07cb5d31
  • Loading branch information
kristapsk committed Mar 5, 2024
2 parents 38d4df0 + 3317b0b commit 26469bd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/jmclient/wallet_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,8 +906,9 @@ def print_row(index, time, tx_type, amount, delta, balance, cj_n,
wallet_tx = jm_single().bc_interface.get_transaction(
ins.prevout.hash[::-1])
if wallet_tx:
wallet_tx_deser = jm_single.bc_interface(
).get_deser_from_gettransaction(wallet_tx)
wallet_tx_deser = jm_single(
).bc_interface.get_deser_from_gettransaction(
wallet_tx)
tx_cache[ins.prevout.hash[::-1]] = (wallet_tx,
wallet_tx_deser)
else:
Expand Down

0 comments on commit 26469bd

Please sign in to comment.