fix lint error.

This commit is contained in:
Raúl Kripalani 2020-09-02 12:28:55 +01:00
parent ad5793e446
commit ec5903ca19

View File

@ -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)