fix noncefix

This commit is contained in:
whyrusleeping 2020-10-06 16:46:47 -07:00
parent 2bf42d5318
commit 74016ab1cc

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
}