rm getAddress
This commit is contained in:
parent
4ed1a49dc5
commit
c2a5d9dc1a
9 changed files with 115 additions and 92 deletions
test
|
@ -196,16 +196,6 @@ describe('ECPair', function () {
|
|||
}))
|
||||
})
|
||||
|
||||
describe('getAddress', function () {
|
||||
fixtures.valid.forEach(function (f) {
|
||||
it('returns ' + f.address + ' for ' + f.WIF, function () {
|
||||
var keyPair = ECPair.fromWIF(f.WIF, NETWORKS_LIST)
|
||||
|
||||
assert.strictEqual(keyPair.getAddress(), f.address)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('getNetwork', function () {
|
||||
fixtures.valid.forEach(function (f) {
|
||||
it('returns ' + f.network + ' for ' + f.WIF, function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue