Skip to content

Commit

Permalink
Merge pull request #4202 from filecoin-project/fix/nonce-gap-fixer
Browse files Browse the repository at this point in the history
fix noncefix
  • Loading branch information
magik6k authored Oct 6, 2020
2 parents 2bf42d5 + 74016ab commit a98b0f1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cmd/lotus-shed/nonce-fix.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,8 @@ var noncefix = &cli.Command{
Value: types.NewInt(1),
Nonce: i,
}
smsg, err := api.WalletSignMessage(ctx, addr, msg)
if err != nil {
return err
}

_, err = api.MpoolPush(ctx, smsg)
_, err = api.MpoolPushMessage(ctx, msg, nil)
if err != nil {
return err
}
Expand Down

0 comments on commit a98b0f1

Please sign in to comment.