We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1892b67 commit 0a21f53Copy full SHA for 0a21f53
src/rpc/mining.cpp
@@ -1057,6 +1057,8 @@ UniValue getnewblockhex(const JSONRPCRequest& request)
1057
}
1058
std::vector<unsigned char> fedpeg_bytes = ParseHex(fps_str);
1059
proposed.m_fedpegscript = CScript(fedpeg_bytes.begin(), fedpeg_bytes.end());
1060
+ // Compute the P2WSH scriptPubKey of this fedpegscript
1061
+ proposed.m_fedpeg_program = GetScriptForDestination(WitnessV0ScriptHash(proposed.m_fedpegscript));
1062
1063
UniValue extension_array = prop["extension_space"].get_array();
1064
for (unsigned int i = 0; i < extension_array.size(); i++) {
0 commit comments