Skip to content

Commit

Permalink
Convert references from 'pending' to 'receivable'
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu committed Mar 21, 2023
1 parent 91fc89f commit 2a23efc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nano/rpc_test/receivable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

using namespace nano::test;

TEST (rpc, pending)
TEST (rpc, receivable)
{
nano::test::system system;
auto node = add_ipc_enabled_node (system);
Expand All @@ -18,7 +18,7 @@ TEST (rpc, pending)
ASSERT_TIMELY (5s, node->block_confirmed (block1->hash ()));
auto const rpc_ctx = add_rpc (system, node);
boost::property_tree::ptree request;
request.put ("action", "pending");
request.put ("action", "receivable");
request.put ("account", key1.pub.to_account ());
request.put ("count", "100");
{
Expand Down Expand Up @@ -280,7 +280,7 @@ TEST (rpc, receivable_offset_and_sorting)
}
}

TEST (rpc, pending_burn)
TEST (rpc, receivable_burn)
{
nano::test::system system;
auto node = add_ipc_enabled_node (system);
Expand All @@ -289,7 +289,7 @@ TEST (rpc, pending_burn)
auto const rpc_ctx = add_rpc (system, node);
ASSERT_TIMELY (5s, node->block_confirmed (block1->hash ()));
boost::property_tree::ptree request;
request.put ("action", "pending");
request.put ("action", "receivable");
request.put ("account", nano::dev::constants.burn_account.to_account ());
request.put ("count", "100");
{
Expand Down

0 comments on commit 2a23efc

Please sign in to comment.