mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-07-03 11:22:30 +00:00
integration/rpctest: if unable to build btcd, use one in PATH
This commit is contained in:
parent
5291c455c2
commit
ffe4c2f0ad
@ -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…
x
Reference in New Issue
Block a user