From 14a42a018752c9f1e76f60f8ad72420d08b98313 Mon Sep 17 00:00:00 2001 From: Steven Roose Date: Wed, 24 Feb 2021 15:23:09 +0000 Subject: [PATCH] Add two missing dynafed fields to getblockchaininfo --- src/rpc/blockchain.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 578a0a5779..d103220761 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -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));