diff --git a/src/cpp/ripple/TransactionErr.cpp b/src/cpp/ripple/TransactionErr.cpp index 1e03226fff..cf1390f2fb 100644 --- a/src/cpp/ripple/TransactionErr.cpp +++ b/src/cpp/ripple/TransactionErr.cpp @@ -40,6 +40,7 @@ bool transResultInfo(TER terCode, std::string& strToken, std::string& strHuman) { tefINTERNAL, "tefINTERNAL", "Internal error." }, { tefNO_AUTH_REQUIRED, "tefNO_AUTH_REQUIRED", "Auth is not required." }, { tefPAST_SEQ, "tefPAST_SEQ", "This sequence number has already past." }, + { tefWRONG_PRIOR, "tefWRONG_PRIOR", "This previous transaction does not match." }, { telLOCAL_ERROR, "telLOCAL_ERROR", "Local failure." }, { telBAD_DOMAIN, "telBAD_DOMAIN", "Domain too long." }, diff --git a/src/cpp/ripple/TransactionErr.h b/src/cpp/ripple/TransactionErr.h index 2e18d5f164..2dad42cf56 100644 --- a/src/cpp/ripple/TransactionErr.h +++ b/src/cpp/ripple/TransactionErr.h @@ -83,6 +83,7 @@ enum TER // aka TransactionEngineResult tefINTERNAL, tefNO_AUTH_REQUIRED, // Can't set auth if auth is not required. tefPAST_SEQ, + tefWRONG_PRIOR, // -99 .. -1: R Retry (sequence too high, no funds for txn fee, originating account non-existent) // Causes: