mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
s/m_dyna_params/m_dynafed_params/
This commit is contained in:
parent
6ed63c1fb3
commit
dddc040aa0
9 changed files with 31 additions and 31 deletions
|
|
@ -182,12 +182,12 @@ UniValue blockToJSON(const CBlock& block, const CBlockIndex* tip, const CBlockIn
|
|||
result.pushKV("difficulty", GetDifficulty(blockindex));
|
||||
result.pushKV("chainwork", blockindex->nChainWork.GetHex());
|
||||
} else {
|
||||
if (block.m_dyna_params.IsNull()) {
|
||||
if (block.m_dynafed_params.IsNull()) {
|
||||
result.pushKV("signblock_witness_asm", ScriptToAsmStr(blockindex->proof.solution));
|
||||
result.pushKV("signblock_witness_hex", HexStr(blockindex->proof.solution));
|
||||
result.pushKV("signblock_challenge", HexStr(blockindex->proof.challenge));
|
||||
} else {
|
||||
result.pushKV("dynamic_parameters", dynaParamsToJSON(block.m_dyna_params));
|
||||
result.pushKV("dynamic_parameters", dynaParamsToJSON(block.m_dynafed_params));
|
||||
}
|
||||
}
|
||||
result.pushKV("nTx", (uint64_t)blockindex->nTx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue