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 793dde0 commit 50e4004Copy full SHA for 50e4004
src/evo/simplifiedmns.cpp
@@ -279,7 +279,8 @@ UniValue CSimplifiedMNListDiff::ToJson(bool extended) const
279
}
280
obj.pushKV("newQuorums", newQuorumsArr);
281
282
- if (const auto opt_cbTxPayload = GetTxPayload<CCbTx>(*cbTx)) {
+ // Do not assert special tx type here since this can be called prior to DIP0003 activation
283
+ if (const auto opt_cbTxPayload = GetTxPayload<CCbTx>(*cbTx, false)) {
284
obj.pushKV("merkleRootMNList", opt_cbTxPayload->merkleRootMNList.ToString());
285
if (opt_cbTxPayload->nVersion >= CCbTx::Version::MERKLE_ROOT_QUORUMS) {
286
obj.pushKV("merkleRootQuorums", opt_cbTxPayload->merkleRootQuorums.ToString());
0 commit comments