Merge pull request #4202 from filecoin-project/fix/nonce-gap-fixer

fix noncefix
This commit is contained in:
Łukasz Magiera 2020-10-07 01:58:29 +02:00 committed by GitHub
commit a98b0f18fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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