Updates network.js constant names
This commit is contained in:
parent
ed28c6adcf
commit
f047afef2d
12 changed files with 68 additions and 58 deletions
test
|
@ -6,7 +6,7 @@ var bytesToHex = convert.bytesToHex
|
|||
var hexToBytes = convert.hexToBytes
|
||||
var Address = require('../src/address')
|
||||
var Network = require('../src/network')
|
||||
var testnet = Network.testnet.addressVersion
|
||||
var testnet = Network.testnet.pubKeyHash
|
||||
|
||||
describe('ECKey', function() {
|
||||
describe('constructor', function() {
|
||||
|
@ -83,7 +83,7 @@ describe('ECKey', function() {
|
|||
return ECPubKey(x).toHex(false)
|
||||
})
|
||||
|
||||
it('mainnet', function() {
|
||||
it('bitcoin', function() {
|
||||
var addresses = [
|
||||
'19SgmoUj4xowEjwtXvNAtYTAgbvR9iBCui',
|
||||
'1MsHWS1BnwMc3tLE8G35UXsS58fKipzB7a',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue