From: Chris Duncan Date: Fri, 8 Aug 2025 20:03:09 +0000 (-0700) Subject: Fix Ledger signature from block returning bytes instead of hex. X-Git-Tag: v0.10.5~43^2~1 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=a0bc6604ca6dc84c54ec200a6f4509cbd3584761;p=libnemo.git Fix Ledger signature from block returning bytes instead of hex. --- diff --git a/src/lib/block.ts b/src/lib/block.ts index e8a3e38..c02ca66 100644 --- a/src/lib/block.ts +++ b/src/lib/block.ts @@ -434,7 +434,7 @@ export class Block { console.warn('Error updating Ledger cache of previous block, attempting signature anyway', err) } } - this.signature = await ledger.sign(index, this) + this.signature = await ledger.sign(index, this, 'hex') } else { throw new TypeError('invalid key for block signature', { cause: typeof input }) }