Fix sync_test
This commit is contained in:
parent
4acdb10bf6
commit
10dbf6e9d4
@ -220,7 +220,7 @@ func (tu *syncTestUtil) addSourceNode(gen int) {
|
||||
for _, lastB := range lastTs {
|
||||
cs := out.(*impl.FullNodeAPI).ChainAPI.Chain
|
||||
require.NoError(tu.t, cs.AddToTipSetTracker(lastB.Header))
|
||||
err = cs.AddBlock(lastB.Header)
|
||||
err = cs.AddBlock(tu.ctx, lastB.Header)
|
||||
require.NoError(tu.t, err)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user