mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 01:50:43 +00:00
Merge remote-tracking branch 'upstream/develop' into sponsor
This commit is contained in:
@@ -2272,15 +2272,14 @@ class NFTokenBaseUtil_test : public beast::unit_test::suite
|
||||
env(pay(becky, gw, env.balance(becky, gwXAU)));
|
||||
env.close();
|
||||
|
||||
STAmount const startXAUBalance(
|
||||
gwXAU.issue(), STAmount::cMinValue, STAmount::cMinOffset + 5);
|
||||
STAmount const startXAUBalance(gwXAU, STAmount::cMinValue, STAmount::cMinOffset + 5);
|
||||
env(pay(gw, alice, startXAUBalance));
|
||||
env(pay(gw, minter, startXAUBalance));
|
||||
env(pay(gw, becky, startXAUBalance));
|
||||
env.close();
|
||||
|
||||
// Here is the smallest expressible gwXAU amount.
|
||||
STAmount const tinyXAU(gwXAU.issue(), STAmount::cMinValue, STAmount::cMinOffset);
|
||||
STAmount const tinyXAU(gwXAU, STAmount::cMinValue, STAmount::cMinOffset);
|
||||
|
||||
// minter buys the nft for tinyXAU. Since the transfer involves
|
||||
// alice there should be no transfer fee.
|
||||
@@ -2313,7 +2312,7 @@ class NFTokenBaseUtil_test : public beast::unit_test::suite
|
||||
|
||||
// carol sells to becky. This is the smallest gwXAU amount
|
||||
// to pay for a transfer that enables a transfer fee of 1.
|
||||
STAmount const cheapNFT(gwXAU.issue(), STAmount::cMinValue, STAmount::cMinOffset + 5);
|
||||
STAmount const cheapNFT(gwXAU, STAmount::cMinValue, STAmount::cMinOffset + 5);
|
||||
|
||||
STAmount beckyBalance = env.balance(becky, gwXAU);
|
||||
uint256 const beckyBuyOfferIndex = keylet::nftoffer(becky, env.seq(becky)).key;
|
||||
|
||||
Reference in New Issue
Block a user