Updates network.js constant names

This commit is contained in:
Daniel Cousens 2014-04-17 05:43:34 +10:00
parent ed28c6adcf
commit f047afef2d
12 changed files with 68 additions and 58 deletions

View file

@ -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',