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 86ce844 commit e2b954eCopy full SHA for e2b954e
src/rpc/blockchain.cpp
@@ -1208,7 +1208,7 @@ RPCHelpMan getblockchaininfo()
1208
obj.pushKV("headers", chainman.m_best_header ? chainman.m_best_header->nHeight : -1);
1209
obj.pushKV("bestblockhash", tip.GetBlockHash().GetHex());
1210
obj.pushKV("difficulty", GetDifficulty(&tip));
1211
- obj.pushKV("time", int64_t{tip.nTime});
+ obj.pushKV("time", tip.GetBlockTime());
1212
obj.pushKV("mediantime", tip.GetMedianTimePast());
1213
obj.pushKV("verificationprogress", GuessVerificationProgress(Params().TxData(), &tip));
1214
obj.pushKV("initialblockdownload", active_chainstate.IsInitialBlockDownload());
0 commit comments