Make lint happy

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera 2021-01-26 17:18:15 +01:00
parent 28bed9ac54
commit b13428bf11
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

View File

@ -229,15 +229,15 @@ func send(ctx context.Context, api sendAPIs, params sendParams) (cid.Cid, error)
return cid.Undef, err
}
return sm.Cid(), nil
} else {
sm, err := api.MpoolPushMessage(ctx, msg, nil)
if err != nil {
return cid.Undef, err
}
return sm.Cid(), nil
}
sm, err := api.MpoolPushMessage(ctx, msg, nil)
if err != nil {
return cid.Undef, err
}
return sm.Cid(), nil
}
func decodeTypedParams(ctx context.Context, fapi api.FullNode, to address.Address, method abi.MethodNum, paramstr string) ([]byte, error) {