mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-24 20:45:50 +00:00
Skip validity check for tx command:
* historical tx retrieval no longer needs to pass current validity check; * introduced additional RPC error code for database deserialization error. This fixes issue #2597
This commit is contained in:
@@ -88,6 +88,7 @@ constexpr static ErrorInfo unorderedErrorInfos[]
|
||||
{rpcTXN_NOT_FOUND, "txnNotFound", "Transaction not found."},
|
||||
{rpcUNKNOWN_COMMAND, "unknownCmd", "Unknown method."},
|
||||
{rpcSENDMAX_MALFORMED, "sendMaxMalformed", "SendMax amount malformed."},
|
||||
{rpcDB_DESERIALIZATION, "dbDeserialization", "Database deserialization error."},
|
||||
};
|
||||
|
||||
// C++ does not allow you to return an array from a function. You must
|
||||
|
||||
Reference in New Issue
Block a user