mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
multi: update lnd compile-time dependency to v0.19.0
This commit is contained in:
parent
800f0e0fba
commit
722ad8839d
29 changed files with 127 additions and 125 deletions
16
test/log.go
16
test/log.go
|
|
@ -1,24 +1,12 @@
|
|||
package test
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/btcsuite/btclog"
|
||||
"github.com/lightningnetwork/lnd/build"
|
||||
)
|
||||
|
||||
// log is a logger that is initialized with no output filters. This
|
||||
// means the package will not perform any logging by default until the caller
|
||||
// requests it.
|
||||
var (
|
||||
backendLog = btclog.NewBackend(logWriter{})
|
||||
logger = backendLog.Logger("TEST")
|
||||
logger = build.NewSubLogger("TEST", nil)
|
||||
)
|
||||
|
||||
// logWriter implements an io.Writer that outputs to both standard output and
|
||||
// the write-end pipe of an initialized log rotator.
|
||||
type logWriter struct{}
|
||||
|
||||
func (logWriter) Write(p []byte) (int, error) {
|
||||
os.Stdout.Write(p)
|
||||
return len(p), nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -190,7 +190,7 @@ func (m *mockWalletKit) ListSweepsVerbose(ctx context.Context, _ int32) (
|
|||
// used in a previous BumpFee call, then a transaction replacing the
|
||||
// previous is broadcast, resulting in a replace-by-fee (RBF) scenario.
|
||||
func (m *mockWalletKit) BumpFee(context.Context, wire.OutPoint,
|
||||
chainfee.SatPerKWeight) error {
|
||||
chainfee.SatPerKWeight, ...lndclient.BumpFeeOption) error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue