fix merge error in window post dispute tests.

This commit is contained in:
Raúl Kripalani 2021-06-21 21:25:55 +01:00
parent e69335b35f
commit e438ef99f8
2 changed files with 2 additions and 6 deletions

View File

@ -50,6 +50,7 @@ func TestDealCyclesConcurrent(t *testing.T) {
})
}
// TOOD: add 2, 4, 8, more when this graphsync issue is fixed: https://github.com/ipfs/go-graphsync/issues/175#
cycles := []int{1}
for _, n := range cycles {
n := n

View File

@ -335,11 +335,6 @@ func submitBadProof(
return err
}
from, err := client.WalletDefaultAddress(ctx)
if err != nil {
return err
}
minerInfo, err := client.StateMinerInfo(ctx, maddr, head.Key())
if err != nil {
return err
@ -374,7 +369,7 @@ func submitBadProof(
Method: minerActor.Methods.SubmitWindowedPoSt,
Params: enc,
Value: types.NewInt(0),
From: from,
From: owner,
}
sm, err := client.MpoolPushMessage(ctx, msg, nil)
if err != nil {