Skip to content

Commit

Permalink
refactor: add var name comment
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 committed Feb 19, 2025
1 parent 50e4004 commit fab006d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evo/simplifiedmns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ UniValue CSimplifiedMNListDiff::ToJson(bool extended) const
obj.pushKV("newQuorums", newQuorumsArr);

// Do not assert special tx type here since this can be called prior to DIP0003 activation
if (const auto opt_cbTxPayload = GetTxPayload<CCbTx>(*cbTx, false)) {
if (const auto opt_cbTxPayload = GetTxPayload<CCbTx>(*cbTx, /*assert_type=*/false)) {
obj.pushKV("merkleRootMNList", opt_cbTxPayload->merkleRootMNList.ToString());
if (opt_cbTxPayload->nVersion >= CCbTx::Version::MERKLE_ROOT_QUORUMS) {
obj.pushKV("merkleRootQuorums", opt_cbTxPayload->merkleRootQuorums.ToString());
Expand Down

0 comments on commit fab006d

Please sign in to comment.