Remove assert from Keylet:

Some transactions specify a keylet directly (Checks, for example). In those
cases, the assert will trigger even though there is no error.
This commit is contained in:
seelabs
2020-08-10 12:09:46 -04:00
committed by Nik Bougalis
parent 13b8359de6
commit ab9f3fa42a

View File

@@ -34,7 +34,6 @@ Keylet::check(SLE const& sle) const
assert(sle.getType() != ltDIR_NODE);
return sle.getType() != ltDIR_NODE;
}
assert(sle.getType() == type);
return sle.getType() == type;
}