From 990588c965accf18a742c9be386badde55610024 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Fri, 18 Jul 2025 00:07:16 -0700 Subject: [PATCH] Fix block private key account proxy. --- 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 57e032b..092b32b 100644 --- a/src/lib/block.ts +++ b/src/lib/block.ts @@ -141,7 +141,7 @@ abstract class Block { } else { try { const account = (typeof input === 'string') - ? await Account.import({ privateKey: input }, '') + ? await Account.import({ index: 0, privateKey: input }, '') : this.account this.signature = await account.sign(this, '') } catch (err) { -- 2.47.3