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 Feb 24, 2021
1 parent fe03729 commit 14a42a0
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 @@ -1464,6 +1464,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 14a42a0

Please sign in to comment.