Skip to content

Commit

Permalink
Update ActionRegistry to ActionCodec (#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronbuchwald authored Oct 10, 2024
1 parent 829b991 commit 0a2d991
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 @@ -266,7 +266,7 @@ func (j *JSONRPCServer) SimulateActions(
ctx, span := j.vm.Tracer().Start(req.Context(), "JSONRPCServer.SimulateActions")
defer span.End()

actionRegistry := j.vm.ActionRegistry()
actionRegistry := j.vm.ActionCodec()
var actions chain.Actions
for _, actionBytes := range args.Actions {
actionsReader := codec.NewReader(actionBytes, len(actionBytes))
Expand Down

0 comments on commit 0a2d991

Please sign in to comment.