Skip to content

Commit

Permalink
Merge pull request #4996 from ghubstan/fix-bitcoind-config-bug
Browse files Browse the repository at this point in the history
Pass hash to bitcoind blocknotify script
  • Loading branch information
sqrrm authored Dec 23, 2020
2 parents 7d7f1b0 + 2070e76 commit c52d669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void start() throws InterruptedException, IOException {
+ " -rpcport=" + config.bitcoinRpcPort
+ " -rpcuser=" + config.bitcoinRpcUser
+ " -rpcpassword=" + config.bitcoinRpcPassword
+ " -blocknotify=" + config.bitcoinDatadir + "/blocknotify";
+ " -blocknotify=" + "\"" + config.bitcoinDatadir + "/blocknotify" + " %s\"";

BashCommand cmd = new BashCommand(bitcoindCmd).run();
log.info("Starting ...\n$ {}", cmd.getCommand());
Expand Down

0 comments on commit c52d669

Please sign in to comment.