Skip to content

Commit

Permalink
Wallet: add 2.0.0 deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Nov 25, 2014
1 parent bd8a677 commit 78d26c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 78d26c2

Please sign in to comment.