mirror of
https://github.com/wealdtech/ethdo.git
synced 2026-01-09 14:07:56 -05:00
Fix tests.
This commit is contained in:
@@ -39,6 +39,16 @@ func (c *specETH2Client) Address() string {
|
||||
return "mock"
|
||||
}
|
||||
|
||||
// IsActive returns true if the client is active.
|
||||
func (c *specETH2Client) IsActive() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// IsSynced returns true if the client is synced.
|
||||
func (c *specETH2Client) IsSynced() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// Spec provides the spec information of the chain.
|
||||
func (c *specETH2Client) Spec(ctx context.Context, _ *api.SpecOpts) (*api.Response[map[string]any], error) {
|
||||
return &api.Response[map[string]any]{
|
||||
|
||||
Reference in New Issue
Block a user