diff --git a/channeldb/db.go b/channeldb/db.go index d640cbdc..e286d715 100644 --- a/channeldb/db.go +++ b/channeldb/db.go @@ -7,7 +7,6 @@ import ( "net" "os" "path/filepath" - "sync" "time" "github.com/btcsuite/btcd/btcec" @@ -104,10 +103,6 @@ var ( byteOrder = binary.BigEndian ) -var bufPool = &sync.Pool{ - New: func() interface{} { return new(bytes.Buffer) }, -} - // DB is the primary datastore for the lnd daemon. The database stores // information related to nodes, routing data, open/closed channels, fee // schedules, and reputation data.