From 82e01f4c13f0fafa1aa1b5f25f23b96d42192c85 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 18 Mar 2019 17:25:49 +0200 Subject: [PATCH] initialise wallet addresses --- src/main/java/com/craigraw/drongo/Drongo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/craigraw/drongo/Drongo.java b/src/main/java/com/craigraw/drongo/Drongo.java index 44bf563..931e911 100644 --- a/src/main/java/com/craigraw/drongo/Drongo.java +++ b/src/main/java/com/craigraw/drongo/Drongo.java @@ -25,6 +25,10 @@ public class Drongo { this.bitcoinJSONRPCClient = new BitcoinJSONRPCClient(nodeRpc.get("host"), nodeRpc.get("port"), nodeRpc.get("user"), nodeRpc.get("password")); this.watchWallets = watchWallets; this.notifyRecipients = notifyRecipients; + + for(WatchWallet wallet : watchWallets) { + wallet.initialiseAddresses(); + } } public void start() {