• R/O
  • HTTP
  • SSH
  • HTTPS

vapor: Commit

Golang implemented sidechain for Bytom


Commit MetaInfo

Revision59d28638cd534428c3f989d2d102f9c2d02f75c3 (tree)
Time2019-07-15 13:15:53
AuthorYahtoo Ma <yahtoo.ma@gmai...>
CommiterYahtoo Ma

Log Message

Fix test file err

Change Summary

Incremental Difference

--- a/netsync/chainmgr/block_process_test.go
+++ b/netsync/chainmgr/block_process_test.go
@@ -43,7 +43,7 @@ func TestBlockProcess(t *testing.T) {
4343 close(downloadNotifyCh)
4444 }()
4545 wg.Add(1)
46- bp.process(downloadNotifyCh, ProcessStopCh, &wg)
46+ bp.process(downloadNotifyCh, ProcessStopCh, uint64(blockNum/2), &wg)
4747 if bp.chain.BestBlockHeight() != uint64(blockNum) {
4848 t.Fatalf("TestBlockProcess fail: got %d want %d", bp.chain.BestBlockHeight(), blockNum)
4949 }
Show on old repository browser