mirror of
https://github.com/status-im/status-go.git
synced 2025-02-06 20:05:01 +00:00
fix_: generate network.go mock
This commit is contained in:
parent
733ff40f9d
commit
1c53202b72
@ -14,11 +14,7 @@ import (
|
||||
persistence "github.com/status-im/status-go/rpc/network/db"
|
||||
)
|
||||
|
||||
type CombinedNetwork struct {
|
||||
Prod *params.Network
|
||||
Test *params.Network
|
||||
}
|
||||
|
||||
//go:generate mockgen -package=mock -source=network.go -destination=mock/network.go
|
||||
type ManagerInterface interface {
|
||||
InitEmbeddedNetworks(networks []params.Network) error
|
||||
|
||||
@ -37,6 +33,11 @@ type ManagerInterface interface {
|
||||
SetEnabled(chainID uint64, enabled bool) error
|
||||
}
|
||||
|
||||
type CombinedNetwork struct {
|
||||
Prod *params.Network
|
||||
Test *params.Network
|
||||
}
|
||||
|
||||
type Manager struct {
|
||||
db *sql.DB
|
||||
accountsDB *accounts.Database
|
||||
|
Loading…
x
Reference in New Issue
Block a user