Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Mar 15, 2024
1 parent bb6e22d commit 9a9232f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/gethfork/rpc/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,13 @@ func (h *handler) handleNonBatchCall(cp *callProc, msg *jsonrpcMessage) {
}

answer := h.handleCallMsg(cp, msg)
if answer != nil {
res, err := answer.Result.MarshalJSON()
if err != nil {
fmt.Printf("Err: %s\n", err)
}
fmt.Printf("Response: %s\n", string(res))
}
if timer != nil {
timer.Stop()
}
Expand Down

0 comments on commit 9a9232f

Please sign in to comment.