]> git.codecow.com Git - libnemo.git/commit
Fix Ledger block hashing and caching.
authorChris Duncan <chris@zoso.dev>
Tue, 8 Jul 2025 17:27:21 +0000 (10:27 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 8 Jul 2025 17:27:21 +0000 (10:27 -0700)
commit6dd3055fdefd036bd085b783e667ae16f9ba404d
tree9b1109ee10142b50e6e11c5737b00ead7beca8ad
parent193761777ba04784625ce3b0b6680be651a51bf5
Fix Ledger block hashing and caching.
Ledger app requires open blocks to have zeroed frontier bytes instead of account public key, diverging from spec, so zero out "parent" block like Ledger expects if public key is the frontier.
Ensure block data is correct length before hashing.
Merge shared functionality of signing blocks and nonces, and document bug with Ledger nano app that is preventing nonces from being signed.
Skip online tests for now.
src/lib/block.ts
src/lib/constants.ts
src/lib/wallets/ledger-wallet.ts
test/test.create-wallet.mjs
test/test.derive-accounts.mjs
test/test.refresh-accounts.mjs
test/test.sign-blocks.mjs