diff --git a/config_builder.go b/config_builder.go index 1c3a842ef..7cc1a112d 100644 --- a/config_builder.go +++ b/config_builder.go @@ -18,7 +18,7 @@ import ( "github.com/btcsuite/btcd/chaincfg" "github.com/btcsuite/btcd/chaincfg/chainhash" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/waddrmgr" "github.com/btcsuite/btcwallet/wallet" diff --git a/contractcourt/contract_resolver.go b/contractcourt/contract_resolver.go index 5acf80064..691822610 100644 --- a/contractcourt/contract_resolver.go +++ b/contractcourt/contract_resolver.go @@ -7,7 +7,7 @@ import ( "io" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/fn" diff --git a/htlcswitch/link.go b/htlcswitch/link.go index 7ce618574..3532a2318 100644 --- a/htlcswitch/link.go +++ b/htlcswitch/link.go @@ -13,7 +13,7 @@ import ( "github.com/btcsuite/btcd/btcutil" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/channeldb/models" diff --git a/lncfg/db.go b/lncfg/db.go index 4072a51fe..1f7e0ae35 100644 --- a/lncfg/db.go +++ b/lncfg/db.go @@ -7,7 +7,7 @@ import ( "path/filepath" "time" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/kvdb" "github.com/lightningnetwork/lnd/kvdb/etcd" "github.com/lightningnetwork/lnd/kvdb/postgres" diff --git a/lnrpc/watchtowerrpc/log.go b/lnrpc/watchtowerrpc/log.go index a71b7827f..2563affe1 100644 --- a/lnrpc/watchtowerrpc/log.go +++ b/lnrpc/watchtowerrpc/log.go @@ -1,7 +1,7 @@ package watchtowerrpc import ( - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" ) diff --git a/lnrpc/websocket_proxy.go b/lnrpc/websocket_proxy.go index 4a4692965..b333ba1c8 100644 --- a/lnrpc/websocket_proxy.go +++ b/lnrpc/websocket_proxy.go @@ -12,7 +12,7 @@ import ( "strings" "time" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/gorilla/websocket" "golang.org/x/net/context" ) diff --git a/lnrpc/wtclientrpc/config.go b/lnrpc/wtclientrpc/config.go index b95fb1197..81fb5f18f 100644 --- a/lnrpc/wtclientrpc/config.go +++ b/lnrpc/wtclientrpc/config.go @@ -1,7 +1,7 @@ package wtclientrpc import ( - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/lncfg" "github.com/lightningnetwork/lnd/watchtower/wtclient" ) diff --git a/lnwallet/chainfee/log.go b/lnwallet/chainfee/log.go index d5d040578..536f73eff 100644 --- a/lnwallet/chainfee/log.go +++ b/lnwallet/chainfee/log.go @@ -1,7 +1,7 @@ package chainfee import ( - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" ) diff --git a/lnwallet/channel.go b/lnwallet/channel.go index 3a980df1a..33360228d 100644 --- a/lnwallet/channel.go +++ b/lnwallet/channel.go @@ -21,7 +21,7 @@ import ( "github.com/btcsuite/btcd/mempool" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/davecgh/go-spew/spew" "github.com/lightningnetwork/lnd/build" "github.com/lightningnetwork/lnd/chainntnfs" diff --git a/msgmux/log.go b/msgmux/log.go index 63da4791f..27abbf271 100644 --- a/msgmux/log.go +++ b/msgmux/log.go @@ -1,7 +1,7 @@ package msgmux import ( - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" ) diff --git a/peer/brontide.go b/peer/brontide.go index a66618f11..ae4d373ca 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -17,7 +17,7 @@ import ( "github.com/btcsuite/btcd/connmgr" "github.com/btcsuite/btcd/txscript" "github.com/btcsuite/btcd/wire" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/davecgh/go-spew/spew" "github.com/lightningnetwork/lnd/buffer" "github.com/lightningnetwork/lnd/build" diff --git a/routing/missioncontrol.go b/routing/missioncontrol.go index d848235d8..be8ce7c9f 100644 --- a/routing/missioncontrol.go +++ b/routing/missioncontrol.go @@ -7,7 +7,7 @@ import ( "time" "github.com/btcsuite/btcd/btcutil" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/btcsuite/btcwallet/walletdb" "github.com/lightningnetwork/lnd/build" "github.com/lightningnetwork/lnd/channeldb" diff --git a/routing/payment_session.go b/routing/payment_session.go index 89fb2fd13..2ab9e4fd4 100644 --- a/routing/payment_session.go +++ b/routing/payment_session.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/btcsuite/btcd/btcec/v2" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/channeldb/models" diff --git a/subrpcserver_config.go b/subrpcserver_config.go index 8ea5b0ab3..a4ee6d1a1 100644 --- a/subrpcserver_config.go +++ b/subrpcserver_config.go @@ -6,7 +6,7 @@ import ( "reflect" "github.com/btcsuite/btcd/chaincfg" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/aliasmgr" "github.com/lightningnetwork/lnd/autopilot" "github.com/lightningnetwork/lnd/chainreg" diff --git a/watchtower/wtclient/client.go b/watchtower/wtclient/client.go index aef0fe505..6cf5d9114 100644 --- a/watchtower/wtclient/client.go +++ b/watchtower/wtclient/client.go @@ -11,7 +11,7 @@ import ( "time" "github.com/btcsuite/btcd/btcec/v2" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/build" "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/keychain" diff --git a/watchtower/wtclient/queue.go b/watchtower/wtclient/queue.go index ee03d288a..68e4b6c18 100644 --- a/watchtower/wtclient/queue.go +++ b/watchtower/wtclient/queue.go @@ -7,7 +7,7 @@ import ( "sync/atomic" "time" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/watchtower/wtdb" ) diff --git a/watchtower/wtclient/queue_test.go b/watchtower/wtclient/queue_test.go index 529acb49a..a8494c216 100644 --- a/watchtower/wtclient/queue_test.go +++ b/watchtower/wtclient/queue_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/kvdb" "github.com/lightningnetwork/lnd/lntest/wait" "github.com/lightningnetwork/lnd/watchtower/wtdb" diff --git a/watchtower/wtclient/session_negotiator.go b/watchtower/wtclient/session_negotiator.go index ea17c5b47..4cba7de62 100644 --- a/watchtower/wtclient/session_negotiator.go +++ b/watchtower/wtclient/session_negotiator.go @@ -7,7 +7,7 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/keychain" "github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/watchtower/blob" diff --git a/watchtower/wtclient/session_queue.go b/watchtower/wtclient/session_queue.go index 41ae28f2f..4ee159763 100644 --- a/watchtower/wtclient/session_queue.go +++ b/watchtower/wtclient/session_queue.go @@ -7,7 +7,7 @@ import ( "time" "github.com/btcsuite/btcd/chaincfg/chainhash" - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/input" "github.com/lightningnetwork/lnd/keychain" "github.com/lightningnetwork/lnd/lnwire"