Skip to content

Commit

Permalink
Fix jm_single().bc_interface().get_deser_from_gettransaction call
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk committed Mar 5, 2024
1 parent 38d4df0 commit 1fd1aee
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 1fd1aee

Please sign in to comment.