urbit / urbit-key-generation

Key derivation and HD wallet generation functions for Urbit
MIT License
15 stars 8 forks source link

Should this test ever pass? #73

Closed g-a-v-i-n closed 4 years ago

g-a-v-i-n commented 4 years ago

This equality check is not making sense to me. Note we are comparing the wallet object to a part of the reference wallet.

wallet = await kg.generateOwnershipWallet(config)
expected = objectFromFile('./test/assets/wallet1.json')

expect(lodash.isEqual(wallet, expected.ownership)).to.equal(true)
g-a-v-i-n commented 4 years ago

Any thoughts @Fang-

g-a-v-i-n commented 4 years ago

resolved

Fang- commented 4 years ago

image