Skip to content

Commit

Permalink
Add sidestaking entry status to getstakinginfo.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescowens committed Oct 2, 2023
1 parent 24dc7c5 commit 2ce3708
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ UniValue getstakinginfo(const UniValue& params, bool fHelp)
{
sidestakingalloc.pushKV("address", alloc->m_key.ToString());
sidestakingalloc.pushKV("allocation-pct", alloc->m_allocation * 100);
sidestakingalloc.pushKV("status", alloc->StatusToString());

vsidestakingalloc.push_back(sidestakingalloc);
}
Expand Down

0 comments on commit 2ce3708

Please sign in to comment.