MCPcopy Index your code
hub / github.com/SmartPool/smartpool-client / newTestSmartPool

Function newTestSmartPool

protocol/smartpool_test.go:10–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8)
9
10func newTestSmartPool() *SmartPool {
11 return NewSmartPool(
12 &testPoolMonitor{},
13 &testShareReceiver{},
14 &testNetworkClient{},
15 &testClaimRepo{},
16 &testContract{},
17 common.HexToAddress("0x001aDBc838eDe392B5B054A47f8B8c28f2fA9F3F"),
18 time.Minute,
19 100,
20 false,
21 )
22}
23
24func TestSmartPoolRegisterMinerAfterRegister(t *testing.T) {
25 sp := newTestSmartPool()

Calls 1

NewSmartPoolFunction · 0.85

Tested by

no test coverage detected