From a0bc6604ca6dc84c54ec200a6f4509cbd3584761 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 8 Aug 2025 13:03:09 -0700 Subject: [PATCH] Fix Ledger signature from block returning bytes instead of hex. --- src/lib/block.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) } -- 2.47.3