Wallet: enforce operator new
This commit is contained in:
parent
4952c5f4e7
commit
cde285ccfc
2 changed files with 0 additions and 6 deletions
test
|
@ -25,10 +25,6 @@ describe('Wallet', function() {
|
|||
})
|
||||
|
||||
describe('constructor', function() {
|
||||
it('should be ok to call without new', function() {
|
||||
assert.ok(Wallet(seed) instanceof Wallet)
|
||||
})
|
||||
|
||||
it('defaults to Bitcoin network', function() {
|
||||
assert.equal(wallet.getMasterKey().network, networks.bitcoin)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue