mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove validation cookie support code
This commit is contained in:
committed by
Nikolaos D. Bougalis
parent
04f1388860
commit
6156ff3eb7
@@ -35,8 +35,7 @@ STValidation::STValidation(
|
||||
NodeID const& nodeID,
|
||||
bool isFull,
|
||||
FeeSettings const& fees,
|
||||
std::vector<uint256> const& amendments,
|
||||
boost::optional<std::uint64_t> const cookie)
|
||||
std::vector<uint256> const& amendments)
|
||||
: STObject(getFormat(), sfValidation), mNodeID(nodeID), mSeen(signTime)
|
||||
{
|
||||
// This is our own public key and it should always be valid.
|
||||
@@ -70,8 +69,6 @@ STValidation::STValidation(
|
||||
|
||||
setFlag(vfFullyCanonicalSig);
|
||||
|
||||
if(cookie != boost::none)
|
||||
setFieldU64(sfCookie, *cookie);
|
||||
auto const signingHash = getSigningHash();
|
||||
setFieldVL(
|
||||
sfSignature, signDigest(getSignerPublic(), secretKey, signingHash));
|
||||
|
||||
Reference in New Issue
Block a user