mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-07-03 03:12:30 +00:00
Gofmt latest dbtype config additions.
This commit is contained in:
parent
af7aa39624
commit
be3dc1837c
@ -7,10 +7,10 @@ package main
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
_ "github.com/conformal/btcdb/ldb"
|
||||
_ "github.com/conformal/btcdb/sqlite3"
|
||||
"github.com/conformal/btcwire"
|
||||
"github.com/conformal/go-flags"
|
||||
_ "github.com/conformal/btcdb/sqlite3"
|
||||
_ "github.com/conformal/btcdb/ldb"
|
||||
"net"
|
||||
"os"
|
||||
"path/filepath"
|
||||
@ -306,7 +306,6 @@ func loadConfig() (*config, []string, error) {
|
||||
cfg.ConnectPeers =
|
||||
normalizeAndRemoveDuplicateAddresses(cfg.ConnectPeers)
|
||||
|
||||
|
||||
// determine which database backend to use
|
||||
// would be interesting of btcdb had a 'supportedDBs() []string'
|
||||
// API to populate this field.
|
||||
|
Loading…
x
Reference in New Issue
Block a user