diff --git a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java b/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java index 7554845e9..57e3f6f2e 100644 --- a/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java +++ b/core/src/main/java/org/bitcoinj/kits/WalletAppKit.java @@ -516,7 +516,7 @@ public class WalletAppKit extends AbstractIdleService implements Closeable { else kcg.fromRandom(preferredOutputScriptType); - return walletFactory.create(params, kcg.build()); + return walletFactory.create(network, kcg.build()); } private void maybeMoveOldWalletOutOfTheWay() { diff --git a/core/src/main/java/org/bitcoinj/wallet/Wallet.java b/core/src/main/java/org/bitcoinj/wallet/Wallet.java index 8fe1d79ae..b671c380e 100644 --- a/core/src/main/java/org/bitcoinj/wallet/Wallet.java +++ b/core/src/main/java/org/bitcoinj/wallet/Wallet.java @@ -246,6 +246,7 @@ public class Wallet extends BaseTaggableObject // A list of scripts watched by this wallet. @GuardedBy("keyChainGroupLock") private final Set