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
Add a regular sync maximum block limit (#287)
[bytom/vapor.git]
/
netsync
/
chainmgr
/
block_keeper_test.go
diff --git
a/netsync/chainmgr/block_keeper_test.go
b/netsync/chainmgr/block_keeper_test.go
index
4a12346
..
06a36d2
100644
(file)
--- a/
netsync/chainmgr/block_keeper_test.go
+++ b/
netsync/chainmgr/block_keeper_test.go
@@
-55,7
+55,7
@@
func TestRegularBlockSync(t *testing.T) {
syncTimeout: 30 * time.Second,
aBlocks: chainX[:52],
bBlocks: chainZ,
- want: chainZ[:
201
],
+ want: chainZ[:
180
],
err: nil,
},
}