integration/rpctest: if unable to build btcd, use one in PATH

This commit is contained in:
Olaoluwa Osuntokun 2017-11-23 23:31:01 -06:00
parent 5291c455c2
commit ffe4c2f0ad

View file

@ -44,7 +44,7 @@ type nodeConfig struct {
func newConfig(prefix, certFile, keyFile string, extra []string) (*nodeConfig, error) {
btcdPath, err := btcdExecutablePath()
if err != nil {
return nil, err
btcdPath = "btcd"
}
a := &nodeConfig{