mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-27 09:00:32 +00:00
Co-authored-by: tequ <git@tequ.dev> Co-authored-by: yinyiqian1 <yqian@ripple.com> Co-authored-by: Mayukha Vadari <mvadari@ripple.com> Co-authored-by: Mayukha Vadari <mvadari@gmail.com> Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com> Co-authored-by: Peter Chen <34582813+PeterChen13579@users.noreply.github.com> Co-authored-by: Zhiyuan Wang <96991820+Kassaking7@users.noreply.github.com> Co-authored-by: Ayaz Salikhov <asalikhov@ripple.com> Co-authored-by: Ayaz Salikhov <mathbunnyru@users.noreply.github.com> Co-authored-by: Zhiyuan Wang <1830604455@qq.com>
This commit is contained in:
@@ -51,7 +51,7 @@ namespace xrpl::test {
|
||||
static XRPAmount
|
||||
reserve(jtx::Env& env, std::uint32_t count)
|
||||
{
|
||||
return env.current()->fees().accountReserve(count);
|
||||
return env.current()->fees().accountReserve(count, 1);
|
||||
}
|
||||
|
||||
// Helper function that returns true if acct has the lsfDepositAuth flag set.
|
||||
@@ -1025,7 +1025,7 @@ struct DepositPreauth_test : public beast::unit_test::Suite
|
||||
{
|
||||
// not enough reserve
|
||||
Account const john{"john"};
|
||||
env.fund(env.current()->fees().accountReserve(0), john);
|
||||
env.fund(env.current()->fees().accountReserve(0, 1), john);
|
||||
env.close();
|
||||
auto jv =
|
||||
deposit::authCredentials(john, {{.issuer = issuer, .credType = credType}});
|
||||
|
||||
Reference in New Issue
Block a user