Wallet: add 2.0.0 deprecation message
This commit is contained in:
parent
bd8a677fca
commit
78d26c2e26
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ var TransactionBuilder = require('./transaction_builder')
|
||||||
var Script = require('./script')
|
var Script = require('./script')
|
||||||
|
|
||||||
function Wallet(seed, network) {
|
function Wallet(seed, network) {
|
||||||
|
console.warn('Wallet is deprecated and will be removed in 2.0.0, see #296')
|
||||||
|
|
||||||
seed = seed || crypto.randomBytes(32)
|
seed = seed || crypto.randomBytes(32)
|
||||||
network = network || networks.bitcoin
|
network = network || networks.bitcoin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue