OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
keep last irreversible block on the main chain (#245)
[bytom/vapor.git]
/
test
/
mock
/
chain.go
diff --git
a/test/mock/chain.go
b/test/mock/chain.go
index
2b85ff0
..
700891f
100644
(file)
--- a/
test/mock/chain.go
+++ b/
test/mock/chain.go
@@
-37,7
+37,7
@@
func (c *Chain) BestBlockHeight() uint64 {
return c.bestBlockHeader.Height
}
-func (c *Chain)
Be
stIrreversibleHeader() *types.BlockHeader {
+func (c *Chain)
La
stIrreversibleHeader() *types.BlockHeader {
return c.bestBlockHeader
}