-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
key_store.go
42 lines (35 loc) · 944 Bytes
/
key_store.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Code generated by mockery v2.8.0. DO NOT EDIT.
package mocks
import (
common "github.com/ethereum/go-ethereum/common"
mock "github.com/stretchr/testify/mock"
)
// KeyStore is an autogenerated mock type for the KeyStore type
type KeyStore struct {
mock.Mock
}
// GetRoundRobinAddress provides a mock function with given fields: addrs
func (_m *KeyStore) GetRoundRobinAddress(addrs ...common.Address) (common.Address, error) {
_va := make([]interface{}, len(addrs))
for _i := range addrs {
_va[_i] = addrs[_i]
}
var _ca []interface{}
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 common.Address
if rf, ok := ret.Get(0).(func(...common.Address) common.Address); ok {
r0 = rf(addrs...)
} else {
if ret.Get(0) != nil {
r0 = ret.Get(0).(common.Address)
}
}
var r1 error
if rf, ok := ret.Get(1).(func(...common.Address) error); ok {
r1 = rf(addrs...)
} else {
r1 = ret.Error(1)
}
return r0, r1
}