mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-02 16:26:37 +00:00
fix entropy count
This commit is contained in:
@@ -262,11 +262,9 @@ Change::applyShuffle()
|
||||
// update the ledger sequence of the object
|
||||
sle->setFieldU32(sfLedgerSequence, seq);
|
||||
}
|
||||
else
|
||||
{
|
||||
// increment entropy count
|
||||
sle->setFieldU16(sfEntropyCount, sle->getFieldU16(sfEntropyCount) + 1);
|
||||
}
|
||||
|
||||
// increment entropy count
|
||||
sle->setFieldU16(sfEntropyCount, sle->getFieldU16(sfEntropyCount) + 1);
|
||||
|
||||
// contribute the new entropy to the random data field
|
||||
sle->setFieldH256(sfRandomData,
|
||||
|
||||
Reference in New Issue
Block a user