channeldb/db: remove unused buffer pool
This commit is contained in:
parent
2f927493c8
commit
ac315fd051
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user