diff --git a/utxonursery_test.go b/utxonursery_test.go index a72494958..db0ebd9a3 100644 --- a/utxonursery_test.go +++ b/utxonursery_test.go @@ -436,7 +436,7 @@ func createNurseryTestContext(t *testing.T, GenSweepScript: func() ([]byte, error) { return []byte{}, nil }, - Estimator: &mockFeeEstimator{}, + Estimator: &lnwallet.StaticFeeEstimator{}, Signer: &nurseryMockSigner{}, }) @@ -1011,21 +1011,6 @@ func (i *nurseryStoreInterceptor) RemoveChannel(chanPoint *wire.OutPoint) error return i.ns.RemoveChannel(chanPoint) } -type mockFeeEstimator struct{} - -func (m *mockFeeEstimator) EstimateFeePerKW( - numBlocks uint32) (lnwallet.SatPerKWeight, error) { - - return lnwallet.SatPerKWeight(10000), nil -} - -func (m *mockFeeEstimator) Start() error { - return nil -} -func (m *mockFeeEstimator) Stop() error { - return nil -} - type nurseryMockSigner struct { }