channeldb/db: remove unused buffer pool

This commit is contained in:
Conner Fromknecht 2019-04-01 11:51:50 -07:00
parent 2f927493c8
commit ac315fd051
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -7,7 +7,6 @@ import (
"net" "net"
"os" "os"
"path/filepath" "path/filepath"
"sync"
"time" "time"
"github.com/btcsuite/btcd/btcec" "github.com/btcsuite/btcd/btcec"
@ -104,10 +103,6 @@ var (
byteOrder = binary.BigEndian 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 // DB is the primary datastore for the lnd daemon. The database stores
// information related to nodes, routing data, open/closed channels, fee // information related to nodes, routing data, open/closed channels, fee
// schedules, and reputation data. // schedules, and reputation data.