all: remove public field from rpc.API (#25059)

all: remove public field from rpc.API
This commit is contained in:
lightclient
2022-06-27 13:33:13 +03:00
committed by GitHub
parent c7f485d9e5
commit 119f955686
14 changed files with 6 additions and 39 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ type API struct {
Namespace string // namespace under which the rpc methods of Service are exposed
Version string // api version for DApp's
Service interface{} // receiver instance which holds the methods
Public bool // indication if the methods must be considered safe for public use
Public bool // deprecated - this field is no longer used, but retained for compatibility
Authenticated bool // whether the api should only be available behind authentication.
}