fix(transaction): make error message singular

pull/35/head
MaxMustermann2 2 years ago
parent c9125ba2de
commit eb322498c4
No known key found for this signature in database
GPG Key ID: 4F4AB9DB6FF24C94
  1. 4
      pyhmy/transaction.py

@ -441,7 +441,7 @@ def send_and_confirm_raw_transaction(signed_tx, endpoint=_default_endpoint, time
if unique_chars != "0": if unique_chars != "0":
return tx_response return tx_response
time.sleep(random.uniform(0.2, 0.5)) time.sleep(random.uniform(0.2, 0.5))
raise TxConfirmationTimedoutError("Could not confirm transactions on-chain.") raise TxConfirmationTimedoutError("Could not confirm transaction on-chain.")
############################### ###############################
# CrossShard Transaction RPCs # # CrossShard Transaction RPCs #
@ -790,4 +790,4 @@ def send_and_confirm_raw_staking_transaction(signed_tx, endpoint=_default_endpoi
if unique_chars != "0": if unique_chars != "0":
return tx_response return tx_response
time.sleep(random.uniform(0.2, 0.5)) time.sleep(random.uniform(0.2, 0.5))
raise TxConfirmationTimedoutError("Could not confirm transactions on-chain.") raise TxConfirmationTimedoutError("Could not confirm transaction on-chain.")
Loading…
Cancel
Save