mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix: use td from current head for status (#1386)
This commit is contained in:
@ -76,6 +76,7 @@ impl Status {
|
||||
.chain(spec.chain)
|
||||
.genesis(spec.genesis_hash())
|
||||
.blockhash(head.hash)
|
||||
.total_difficulty(head.total_difficulty)
|
||||
.forkid(spec.fork_id(head))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user