diff --git a/src/cpp/ripple/LedgerProposal.cpp b/src/cpp/ripple/LedgerProposal.cpp index 5f5f058735..7d4d193ca0 100644 --- a/src/cpp/ripple/LedgerProposal.cpp +++ b/src/cpp/ripple/LedgerProposal.cpp @@ -42,7 +42,7 @@ uint256 LedgerProposal::getSigningHash() const { Serializer s((32 + 32 + 32 + 256 + 256) / 8); - s.add32(sHP_Proposal); + s.add32(theConfig.SIGN_PROPOSAL); s.add32(mProposeSeq); s.add32(mCloseTime); s.add256(mPreviousLedger); diff --git a/src/cpp/ripple/SerializedTransaction.cpp b/src/cpp/ripple/SerializedTransaction.cpp index 7b5a58afc6..115f8343e9 100644 --- a/src/cpp/ripple/SerializedTransaction.cpp +++ b/src/cpp/ripple/SerializedTransaction.cpp @@ -126,7 +126,7 @@ std::vector SerializedTransaction::getAffectedAccounts() const uint256 SerializedTransaction::getSigningHash() const { - return STObject::getSigningHash(sHP_TransactionSign); + return STObject::getSigningHash(theConfig.SIGN_TRANSACTION); } uint256 SerializedTransaction::getTransactionID() const diff --git a/src/cpp/ripple/SerializedValidation.cpp b/src/cpp/ripple/SerializedValidation.cpp index 3f502d447c..f50ed08947 100644 --- a/src/cpp/ripple/SerializedValidation.cpp +++ b/src/cpp/ripple/SerializedValidation.cpp @@ -1,7 +1,7 @@ #include "SerializedValidation.h" -#include "HashPrefixes.h" +#include "Config.h" #include "Log.h" DECLARE_INSTANCE(SerializedValidation); @@ -70,7 +70,7 @@ void SerializedValidation::sign(uint256& signingHash, const RippleAddress& raPri uint256 SerializedValidation::getSigningHash() const { - return STObject::getSigningHash(sHP_Validation); + return STObject::getSigningHash(theConfig.SIGN_VALIDATION); } uint256 SerializedValidation::getLedgerHash() const