Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Propagate the AgoraMemo if it exists
Browse files Browse the repository at this point in the history
  • Loading branch information
berticus2016 authored and richardmands committed Apr 7, 2022
1 parent 35fb607 commit 03c8a06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions agora/model/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def from_proto(
try:
agora_memo = AgoraMemo.from_b64_string(memo_data)
tx_type = agora_memo.tx_type()
memo = agora_memo
except ValueError:
memo = memo_data
tx_errors = TransactionErrors.from_solana_tx(solana_tx, item.transaction_error, item.transaction_id.value)
Expand Down

0 comments on commit 03c8a06

Please sign in to comment.