Changes send_transaction to not be recursive

send_transaction had an edge case that was treated recursively. Return a receipt instead and handle that in the caller
This commit is contained in:
Sergi Delgado Segura
2019-10-22 15:01:50 +01:00
parent 018faa07d1
commit 45552e390c
2 changed files with 7 additions and 5 deletions

View File

@@ -9,6 +9,9 @@ APPOINTMENT_WRONG_FIELD = -7
APPOINTMENT_CIPHER_NOT_SUPPORTED = -8
APPOINTMENT_HASH_FUNCTION_NOT_SUPPORTED = -9
# Custom RPC errors
RPC_TX_REORGED_AFTER_BROADCAST = -98
# UNHANDLED
UNKNOWN_JSON_RPC_EXCEPTION = -99