mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Set fully-canonical flag in transactions and validations.
This commit is contained in:
@@ -63,6 +63,7 @@ void SerializedValidation::sign (uint256& signingHash, const RippleAddress& raPr
|
||||
Blob signature;
|
||||
raPriv.signNodePrivate (signingHash, signature);
|
||||
setFieldVL (sfSignature, signature);
|
||||
setFlag (vfFullyCanonicalSig);
|
||||
}
|
||||
|
||||
uint256 SerializedValidation::getSigningHash () const
|
||||
|
||||
@@ -338,7 +338,7 @@ Json::Value RPCHandler::transactionSign (Json::Value params,
|
||||
}
|
||||
}
|
||||
|
||||
if (!tx_json.isMember ("Flags")) tx_json["Flags"] = 0;
|
||||
if (!tx_json.isMember ("Flags")) tx_json["Flags"] = tfFullyCanonicalSig;
|
||||
|
||||
if (!bOffline)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user