From ffe4c2f0ada8398c8ab93d4bc0aea2fbb29d8d01 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 23 Nov 2017 23:31:01 -0600 Subject: [PATCH] integration/rpctest: if unable to build btcd, use one in PATH --- integration/rpctest/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/rpctest/node.go b/integration/rpctest/node.go index 4d224130..6904499a 100644 --- a/integration/rpctest/node.go +++ b/integration/rpctest/node.go @@ -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{