mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
send_transaction had an edge case that was treated recursively. Return a receipt instead and handle that in the caller
19 lines
436 B
Python
19 lines
436 B
Python
# Appointment errors
|
|
APPOINTMENT_EMPTY_FIELD = -1
|
|
APPOINTMENT_WRONG_FIELD_TYPE = -2
|
|
APPOINTMENT_WRONG_FIELD_SIZE = -3
|
|
APPOINTMENT_WRONG_FIELD_FORMAT = -4
|
|
APPOINTMENT_FIELD_TOO_SMALL = -5
|
|
APPOINTMENT_FIELD_TOO_BIG = -6
|
|
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
|
|
|
|
|