Fix 12153

This commit is contained in:
UdjinM6 2021-08-24 22:21:39 +03:00 committed by Munkybooty
parent 9436caf89a
commit c7aa119a82

View File

@ -835,7 +835,7 @@ static UniValue getblockheader(const JSONRPCRequest& request)
return strHex;
}
return blockheaderToJSON(chainActive.Tip(), pblockindex);
return blockheaderToJSON(tip, pblockindex);
}
static UniValue getblockheaders(const JSONRPCRequest& request)