mirror of
https://github.com/Xahau/xahaud.git
synced 2026-09-30 00:48:05 +00:00
test(export): cover native callback fee limits in amount audit
This commit is contained in:
@@ -1878,6 +1878,15 @@ class MPToken_test : public beast::unit_test::suite
|
||||
[jss::Amount] = mpt.getJson(JsonOptions::none);
|
||||
test(jv, sfAmounts.jsonName.c_str());
|
||||
}
|
||||
// Export callback fee authorization is a native-only amount.
|
||||
{
|
||||
Json::Value jv;
|
||||
jv[jss::TransactionType] = jss::Export;
|
||||
jv[jss::Account] = alice.human();
|
||||
jv[sfExportCallbackFeeLimit.jsonName] =
|
||||
mpt.getJson(JsonOptions::none);
|
||||
test(jv, sfExportCallbackFeeLimit.fieldName);
|
||||
}
|
||||
// ClaimReward
|
||||
{
|
||||
Json::Value jv = reward::claim(alice);
|
||||
|
||||
Reference in New Issue
Block a user