File tree 1 file changed +2
-3
lines changed 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2785,12 +2785,11 @@ static RPCHelpMan loadtxoutset()
2785
2785
if (!chainman.ActivateSnapshot (afile, metadata, false )) {
2786
2786
throw JSONRPCError (RPC_INTERNAL_ERROR, " Unable to load UTXO snapshot " + fs::PathToString (path));
2787
2787
}
2788
- CBlockIndex* new_tip{WITH_LOCK (::cs_main, return chainman.ActiveTip ())};
2789
2788
2790
2789
UniValue result (UniValue::VOBJ);
2791
2790
result.pushKV (" coins_loaded" , metadata.m_coins_count );
2792
- result.pushKV (" tip_hash" , new_tip ->GetBlockHash ().ToString ());
2793
- result.pushKV (" base_height" , new_tip ->nHeight );
2791
+ result.pushKV (" tip_hash" , snapshot_start_block ->GetBlockHash ().ToString ());
2792
+ result.pushKV (" base_height" , snapshot_start_block ->nHeight );
2794
2793
result.pushKV (" path" , fs::PathToString (path));
2795
2794
return result;
2796
2795
},
You can’t perform that action at this time.
0 commit comments