mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Protocol Amendment: Always Require Fully-Canonical Signatures
This commit is contained in:
@@ -1489,7 +1489,8 @@ public:
|
||||
});
|
||||
j.sign (keypair.first, keypair.second);
|
||||
|
||||
unexpected (!j.checkSign().first, "Transaction fails signature test");
|
||||
unexpected (!j.checkSign(STTx::RequireFullyCanonicalSig::yes).first,
|
||||
"Transaction fails signature test");
|
||||
|
||||
Serializer rawTxn;
|
||||
j.add (rawTxn);
|
||||
|
||||
Reference in New Issue
Block a user