Skip to content

Commit

Permalink
resolve error type and other comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyiqian1 committed Oct 2, 2024
1 parent e449a09 commit 9f714bb
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 92 deletions.
2 changes: 0 additions & 2 deletions include/xrpl/protocol/TER.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ enum TEMcodes : TERUnderlyingType {

temARRAY_EMPTY,
temARRAY_TOO_LARGE,
temBAD_ASSET_AMOUNT,
temBAD_ASSET_ISSUER
};

//------------------------------------------------------------------------------
Expand Down
2 changes: 0 additions & 2 deletions src/libxrpl/protocol/TER.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,6 @@ transResults()
MAKE_ERROR(temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT, "Malformed: Bad reward amount."),
MAKE_ERROR(temARRAY_EMPTY, "Malformed: Array is empty."),
MAKE_ERROR(temARRAY_TOO_LARGE, "Malformed: Array is too large."),
MAKE_ERROR(temBAD_ASSET_AMOUNT, "Malformed: Amount does not match Asset."),
MAKE_ERROR(temBAD_ASSET_ISSUER, "Malformed: Issuer does not match Asset."),

MAKE_ERROR(terRETRY, "Retry transaction."),
MAKE_ERROR(terFUNDS_SPENT, "DEPRECATED."),
Expand Down
Loading

0 comments on commit 9f714bb

Please sign in to comment.