integration/rpctest: if unable to build btcd, use one in PATH
This commit is contained in:
parent
5291c455c2
commit
ffe4c2f0ad
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ type nodeConfig struct {
|
||||||
func newConfig(prefix, certFile, keyFile string, extra []string) (*nodeConfig, error) {
|
func newConfig(prefix, certFile, keyFile string, extra []string) (*nodeConfig, error) {
|
||||||
btcdPath, err := btcdExecutablePath()
|
btcdPath, err := btcdExecutablePath()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
btcdPath = "btcd"
|
||||||
}
|
}
|
||||||
|
|
||||||
a := &nodeConfig{
|
a := &nodeConfig{
|
||||||
|
|
Loading…
Add table
Reference in a new issue