fix lint error.
This commit is contained in:
parent
ad5793e446
commit
ec5903ca19
@ -211,6 +211,7 @@ func executeTipsetVector(t *testing.T, vector *schema.TestVector) {
|
|||||||
// Apply every tipset.
|
// Apply every tipset.
|
||||||
var receiptsIdx int
|
var receiptsIdx int
|
||||||
for i, ts := range vector.ApplyTipsets {
|
for i, ts := range vector.ApplyTipsets {
|
||||||
|
ts := ts // capture
|
||||||
ret, err := driver.ExecuteTipset(bs, tmpds, root, prevEpoch, &ts)
|
ret, err := driver.ExecuteTipset(bs, tmpds, root, prevEpoch, &ts)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("failed to apply tipset %d message: %s", i, err)
|
t.Fatalf("failed to apply tipset %d message: %s", i, err)
|
||||||
|
Loading…
Reference in New Issue
Block a user