From 78d26c2e26cbba372a8938374de9c563b2ab6ca6 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Tue, 25 Nov 2014 14:57:51 +1100 Subject: [PATCH] Wallet: add 2.0.0 deprecation message --- src/wallet.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wallet.js b/src/wallet.js index 799bc81..f7068ff 100644 --- a/src/wallet.js +++ b/src/wallet.js @@ -10,6 +10,8 @@ var TransactionBuilder = require('./transaction_builder') var Script = require('./script') function Wallet(seed, network) { + console.warn('Wallet is deprecated and will be removed in 2.0.0, see #296') + seed = seed || crypto.randomBytes(32) network = network || networks.bitcoin