From a6e68cb6b8c5758efe2df9be9acd32f230c27b30 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Wed, 23 Oct 2024 10:12:24 +0200 Subject: [PATCH] kvdb: update btclog dep --- kvdb/go.mod | 3 ++- kvdb/go.sum | 5 ++++- kvdb/log.go | 2 +- kvdb/sqlbase/log.go | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/kvdb/go.mod b/kvdb/go.mod index c52086a84..3dc428164 100644 --- a/kvdb/go.mod +++ b/kvdb/go.mod @@ -1,7 +1,7 @@ module github.com/lightningnetwork/lnd/kvdb require ( - github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f + github.com/btcsuite/btclog/v2 v2.0.0-20241017175713-3428138b75c7 github.com/btcsuite/btcwallet/walletdb v1.4.4 github.com/davecgh/go-spew v1.1.1 github.com/fergusstrange/embedded-postgres v1.25.0 @@ -26,6 +26,7 @@ require ( github.com/beorn7/perks v1.0.1 // indirect github.com/btcsuite/btcd v0.23.2 // indirect github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect + github.com/btcsuite/btclog v0.0.0-20241003133417-09c4e92e319c // indirect github.com/cenkalti/backoff/v4 v4.1.3 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/containerd/continuity v0.3.0 // indirect diff --git a/kvdb/go.sum b/kvdb/go.sum index 71fd6889b..329dd2497 100644 --- a/kvdb/go.sum +++ b/kvdb/go.sum @@ -37,8 +37,11 @@ github.com/btcsuite/btcd/btcutil v1.0.0/go.mod h1:Uoxwv0pqYWhD//tfTiipkxNfdhG9Ur github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 h1:q0rUy8C/TYNBQS1+CGKw68tLOFYSNEs0TFnxxnS9+4U= github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc= -github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= +github.com/btcsuite/btclog v0.0.0-20241003133417-09c4e92e319c h1:4HxD1lBUGUddhzgaNgrCPsFWd7cGYNpeFUgd9ZIgyM0= +github.com/btcsuite/btclog v0.0.0-20241003133417-09c4e92e319c/go.mod h1:w7xnGOhwT3lmrS4H3b/D1XAXxvh+tbhUm8xeHN2y3TQ= +github.com/btcsuite/btclog/v2 v2.0.0-20241017175713-3428138b75c7 h1:3Ct3zN3VCEKVm5nceWBBEKczc+jvTfVyOEG71ob2Yuc= +github.com/btcsuite/btclog/v2 v2.0.0-20241017175713-3428138b75c7/go.mod h1:XItGUfVOxotJL8kkuk2Hj3EVow5KCugXl3wWfQ6K0AE= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= github.com/btcsuite/btcwallet/walletdb v1.4.4 h1:BDel6iT/ltYSIYKs0YbjwnEDi7xR3yzABIsQxN2F1L8= github.com/btcsuite/btcwallet/walletdb v1.4.4/go.mod h1:jk/hvpLFINF0C1kfTn0bfx2GbnFT+Nvnj6eblZALfjs= diff --git a/kvdb/log.go b/kvdb/log.go index 824715432..5722bdade 100644 --- a/kvdb/log.go +++ b/kvdb/log.go @@ -1,7 +1,7 @@ package kvdb import ( - "github.com/btcsuite/btclog" + "github.com/btcsuite/btclog/v2" "github.com/lightningnetwork/lnd/kvdb/sqlbase" ) diff --git a/kvdb/sqlbase/log.go b/kvdb/sqlbase/log.go index c6cbe6577..3f4e99bdd 100644 --- a/kvdb/sqlbase/log.go +++ b/kvdb/sqlbase/log.go @@ -1,6 +1,6 @@ package sqlbase -import "github.com/btcsuite/btclog" +import "github.com/btcsuite/btclog/v2" // log is a logger that is initialized as disabled. This means the package will // not perform any logging by default until a logger is set.