diff --git a/pkg/rpc/server.go b/pkg/rpc/server.go index 0ed89cb6e..183019e67 100644 --- a/pkg/rpc/server.go +++ b/pkg/rpc/server.go @@ -549,7 +549,7 @@ func (s *Server) sendrawtransaction(reqParams Params) (interface{}, error) { return results, resultsErr } -func (s Server) blockHeightFromParam(param *Param) (int, error) { +func (s *Server) blockHeightFromParam(param *Param) (int, error) { num, err := param.GetInt() if err != nil { return 0, nil