Skip to content

Commit 15d22a6

Browse files
committed
[RPC] remove nMoneySupply from BlockToJSON
1 parent 994dc1f commit 15d22a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/rpc/blockchain.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,6 @@ UniValue blockToJSON(const CBlock& block, const CBlockIndex* blockindex, bool tx
133133
if (pnext)
134134
result.push_back(Pair("nextblockhash", pnext->GetBlockHash().GetHex()));
135135

136-
result.push_back(Pair("moneysupply",ValueFromAmount(blockindex->nMoneySupply)));
137-
138136
//////////
139137
////////// Coin stake data ////////////////
140138
/////////
@@ -488,7 +486,6 @@ UniValue getblock(const UniValue& params, bool fHelp)
488486
" \"difficulty\" : x.xxx, (numeric) The difficulty\n"
489487
" \"previousblockhash\" : \"hash\", (string) The hash of the previous block\n"
490488
" \"nextblockhash\" : \"hash\" (string) The hash of the next block\n"
491-
" \"moneysupply\" : \"supply\" (numeric) The money supply when this block was added to the blockchain\n"
492489
" \"stakeModifier\" : \"xxx\", (string) Proof of Stake modifier\n"
493490
" \"hashProofOfStake\" : \"hash\", (string) Proof of Stake hash\n"
494491
" }\n"

0 commit comments

Comments
 (0)