mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add an assert.
This commit is contained in:
@@ -25,6 +25,7 @@ LedgerStateParms Ledger::writeBack(LedgerStateParms parms, SerializedLedgerEntry
|
|||||||
|
|
||||||
if (create)
|
if (create)
|
||||||
{
|
{
|
||||||
|
assert(!mAccountStateMap->hasItem(entry->getIndex()));
|
||||||
if(!mAccountStateMap->addGiveItem(item, false))
|
if(!mAccountStateMap->addGiveItem(item, false))
|
||||||
{
|
{
|
||||||
assert(false);
|
assert(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user