mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-09 13:33:50 +00:00
11 lines
315 B
Go
11 lines
315 B
Go
package backends
|
|
|
|
import (
|
|
"github.com/ethereum/go-ethereum/core"
|
|
"github.com/ethereum/go-ethereum/event"
|
|
)
|
|
|
|
// SubscribeStateSyncEvent subscribes to state sync events
|
|
func (fb *filterBackend) SubscribeStateSyncEvent(ch chan<- core.StateSyncEvent) event.Subscription {
|
|
return fb.bc.SubscribeStateSyncEvent(ch)
|
|
}
|