mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
Add check for AssetTotal in VaultDelete
This commit is contained in:
@@ -59,6 +59,9 @@ VaultDelete::preclaim(PreclaimContext const& ctx)
|
||||
if (vault->at(sfAssetAvailable) != 0)
|
||||
return tecHAS_OBLIGATIONS;
|
||||
|
||||
if (vault->at(sfAssetTotal) != 0)
|
||||
return tecHAS_OBLIGATIONS;
|
||||
|
||||
return tesSUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user