Use XRPAmount for fees and ledger headers

This commit is contained in:
Nik Bougalis
2015-08-22 01:13:29 -07:00
parent 94af42da44
commit acd03faee5
27 changed files with 141 additions and 141 deletions

View File

@@ -119,8 +119,8 @@ SetTrust::doApply ()
// to fund accounts in a way where there's no incentive to trick them
// into creating an account you have no intention of using.
STAmount const reserveCreate ((uOwnerCount < 2)
? 0
XRPAmount const reserveCreate ((uOwnerCount < 2)
? XRPAmount (zero)
: view().fees().accountReserve(uOwnerCount + 1));
std::uint32_t uQualityIn (bQualityIn ? tx().getFieldU32 (sfQualityIn) : 0);