Skip to content

Commit

Permalink
Add two missing dynafed fields to getblockchaininfo
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenroose committed Mar 2, 2021
1 parent ae54a1b commit 868e92f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,6 +1469,8 @@ UniValue getblockchaininfo(const JSONRPCRequest& request)
obj.pushKV("current_signblock_asm", ScriptToAsmStr(entry.m_signblockscript));
obj.pushKV("current_signblock_hex", HexStr(entry.m_signblockscript));
obj.pushKV("max_block_witness", (uint64_t)entry.m_signblock_witness_limit);
obj.pushKV("current_fedpeg_program", HexStr(entry.m_fedpeg_program));
obj.pushKV("current_fedpeg_script", HexStr(entry.m_fedpegscript));
UniValue arr(UniValue::VARR);
for (const auto& extension : entry.m_extension_space) {
arr.push_back(HexStr(extension));
Expand Down

0 comments on commit 868e92f

Please sign in to comment.