mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Sign based on --testnet.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -126,7 +126,7 @@ std::vector<RippleAddress> SerializedTransaction::getAffectedAccounts() const
|
||||
|
||||
uint256 SerializedTransaction::getSigningHash() const
|
||||
{
|
||||
return STObject::getSigningHash(sHP_TransactionSign);
|
||||
return STObject::getSigningHash(theConfig.SIGN_TRANSACTION);
|
||||
}
|
||||
|
||||
uint256 SerializedTransaction::getTransactionID() const
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user