Update backend.go

This commit is contained in:
maradini77 2025-10-28 17:56:55 +01:00 committed by GitHub
parent 739f6f46a2
commit bffa03ff07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,7 +103,7 @@ type Backend interface {
NewMatcherBackend() filtermaps.MatcherBackend NewMatcherBackend() filtermaps.MatcherBackend
} }
func GetAPIs(apiBackend Backend) []rpc.API { func APIs(apiBackend Backend) []rpc.API {
nonceLock := new(AddrLocker) nonceLock := new(AddrLocker)
return []rpc.API{ return []rpc.API{
{ {