File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,17 +154,17 @@ UniValue paramEntryToJSON(const DynaFedParamEntry& entry)
154154 }
155155
156156 // fields all params have
157- result.pushKV (" root" , HexStr ( entry.CalculateRoot ()));
157+ result.pushKV (" root" , entry.CalculateRoot (). GetHex ( ));
158158 result.pushKV (" signblockscript" , HexStr (entry.m_signblockscript ));
159159 result.pushKV (" max_block_witness" , (uint64_t )entry.m_signblock_witness_limit );
160160
161161 // add the extra root which is stored for compact and calculated for full
162162 if (entry.m_serialize_type == 1 ) {
163163 // compact
164- result.pushKV (" extra_root" , HexStr ( entry.m_elided_root ));
164+ result.pushKV (" extra_root" , entry.m_elided_root . GetHex ( ));
165165 } else if (entry.m_serialize_type == 2 ) {
166166 // full
167- result.pushKV (" extra_root" , HexStr ( entry.CalculateExtraRoot ()));
167+ result.pushKV (" extra_root" , entry.CalculateExtraRoot (). GetHex ( ));
168168 }
169169
170170 // some extra fields only present on full params
You can’t perform that action at this time.
0 commit comments