Skip to content

Commit 07a06c0

Browse files
aldurkantai
andauthored
Update stackslib/src/net/api/getinfo.rs
Co-authored-by: Aaron Blankstein <[email protected]>
1 parent 844990c commit 07a06c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackslib/src/net/api/getinfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ impl RPCRequestHandler for RPCPeerInfoRequestHandler {
235235

236236
let coinbase_height = NakamotoChainState::get_coinbase_height(
237237
&mut chainstate.index_conn(),
238-
&header.index_block_hash(),
238+
&StacksBlockId::new(&network.stacks_tip.consensus_hash, &network.stacks_tip.block_hash),
239239
)
240240
.map_err(|e| {
241241
StacksHttpResponse::new_error(

0 commit comments

Comments
 (0)