Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
rpc: fix typo example code (ethereum#20284)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo authored and elizabethengelman committed Dec 30, 2019
1 parent e2482ae commit a672c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ An example server which uses the JSON codec:
calculator := new(CalculatorService)
server := NewServer()
server.RegisterName("calculator", calculator")
server.RegisterName("calculator", calculator)
l, _ := net.ListenUnix("unix", &net.UnixAddr{Net: "unix", Name: "/tmp/calculator.sock"})
for {
Expand Down

0 comments on commit a672c10

Please sign in to comment.