Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14864586
D11588.id33922.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
523 B
Subscribers
None
D11588.id33922.diff
View Options
diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp
--- a/src/rpc/mining.cpp
+++ b/src/rpc/mining.cpp
@@ -536,7 +536,7 @@
const CChain &active_chain = chainman.ActiveChain();
UniValue obj(UniValue::VOBJ);
- obj.pushKV("blocks", int(active_chain.Height()));
+ obj.pushKV("blocks", active_chain.Height());
if (BlockAssembler::m_last_block_size) {
obj.pushKV("currentblocksize",
*BlockAssembler::m_last_block_size);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, May 20, 20:43 (14 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5864839
Default Alt Text
D11588.id33922.diff (523 B)
Attached To
D11588: rpc: Remove unnecessary casting of block height
Event Timeline
Log In to Comment