rm network auto-detection
This commit is contained in:
parent
f47decaa2f
commit
649c4d79f9
@ -1,22 +0,0 @@
|
||||
/* global describe, it */
|
||||
|
||||
var assert = require('assert')
|
||||
var networks = require('../src/networks')
|
||||
|
||||
var HDNode = require('../src/hdnode')
|
||||
|
||||
var fixtures = require('./fixtures/network')
|
||||
|
||||
describe('networks', function () {
|
||||
fixtures.forEach(function (f) {
|
||||
var network = networks[f.network]
|
||||
|
||||
Object.keys(f.bip32).forEach(function (name) {
|
||||
var extb58 = f.bip32[name]
|
||||
|
||||
it(extb58 + ' auto-detects ' + f.network, function () {
|
||||
assert.strictEqual(HDNode.fromBase58(extb58).keyPair.network, network)
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
Loading…
Reference in New Issue
Block a user