Skip to content

Commit

Permalink
Remove unnecessary dereference
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald committed Oct 9, 2024
1 parent e29b173 commit 20963ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/jsonrpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ type GetABIReply struct {

func (j *JSONRPCServer) GetABI(_ *http.Request, _ *GetABIArgs, reply *GetABIReply) error {
actionCodec, outputCodec := j.vm.ActionCodec(), j.vm.OutputCodec()
vmABI, err := abi.NewABI(actionCodec.GetRegisteredTypes(), (*outputCodec).GetRegisteredTypes())
vmABI, err := abi.NewABI(actionCodec.GetRegisteredTypes(), outputCodec.GetRegisteredTypes())
if err != nil {
return err
}
Expand Down

0 comments on commit 20963ed

Please sign in to comment.