chore: deps: update to go-jsonrpc 0.1.8
This commit is contained in:
@@ -291,7 +291,7 @@ func gasEstimateGasLimit(
|
||||
return -1, xerrors.Errorf("CallWithGas failed: %w", err)
|
||||
}
|
||||
if res.MsgRct.ExitCode == exitcode.SysErrOutOfGas {
|
||||
return -1, api.ErrOutOfGas{}
|
||||
return -1, &api.ErrOutOfGas{}
|
||||
}
|
||||
|
||||
if res.MsgRct.ExitCode != exitcode.Ok {
|
||||
|
||||
@@ -484,7 +484,7 @@ func (m *StateModule) StateLookupID(ctx context.Context, addr address.Address, t
|
||||
|
||||
ret, err := m.StateManager.LookupID(ctx, addr, ts)
|
||||
if err != nil && xerrors.Is(err, types.ErrActorNotFound) {
|
||||
return address.Undef, api.ErrActorNotFound{}
|
||||
return address.Undef, &api.ErrActorNotFound{}
|
||||
}
|
||||
|
||||
return ret, err
|
||||
|
||||
Reference in New Issue
Block a user