question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Serialisation of BIP32 misplaced address postition

See original GitHub issue

Look at the ending of testByBIP32keystoreSaveAndDeriva for details:

// This will fail. It wont fail if use scrypt from pod 'scrypt', '2.0', not from CryptoSwift
        XCTAssert(keystore?.addresses![0] == recreatedStore?.addresses![1])
        XCTAssert(keystore?.addresses![1] == recreatedStore?.addresses![0])

Adressed switched their position after serialisation (by native JSONEncoder().encode(params) works fine when you run single test and mix them, when run. test suite.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
podkovyrincommented, Oct 10, 2020

@gitcoinbot yes, bot. I’m working

0reactions
gitcoinbotcommented, Dec 31, 2020

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 0.1 ETH (74.25 USD @ $754.31/ETH) has been submitted by:


Read more comments on GitHub >

github_iconTop Results From Across the Web

Serialisation of BIP32 misplaced address postition · Issue #257 ...
Serialisation of BIP32 misplaced address postition #257 ... Adressed switched their position after serialisation (by native JSONEncoder().encode(params)
Read more >
Newest 'bip32-hd-wallets' Questions - Bitcoin Stack Exchange
I generated a mnemonic and keys using the BIP-84 scheme and sent funds to a public address from that scheme over time. I...
Read more >
Dev++ 02-08-EN | HD Wallets (BIP32) - James Chiang
Overview of hierarchical deterministic wallet key generation ( BIP32 )
Read more >
BITCOIN - Bip32-key-serialization
Serialize an extended key. Bip32-serialized-key-p: Check if a sequence of bytes is a serialized extended key. Bip32-import-key: Import a key into a tree....
Read more >
Deterministic wallets - Bitcoin Forum
Hello all, I've made some changes to BIP32 to deal with the issue of revealing a master key by exposing both public parent...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found