mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 09:16:47 +00:00
Add comment to clarify that the door account should not have a sponsor in the reserve check
This commit is contained in:
@@ -1007,6 +1007,7 @@ applyCreateAccountAttestations(
|
||||
|
||||
// Check reserve
|
||||
auto const balance = (*sleDoor)[sfBalance];
|
||||
// Door account should not have a sponsor
|
||||
if (auto const ret = checkInsufficientReserve(psb, tx, sleDoor, balance, {}, 1);
|
||||
!isTesSuccess(ret))
|
||||
return Unexpected(ret); // tecINSUFFICIENT_RESERVE
|
||||
|
||||
Reference in New Issue
Block a user