From 594a65f6a65b4a4ba94b9dcb020bbec29c92e8d6 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 5 Aug 2025 21:23:07 -0700 Subject: [PATCH] Use conventional JSON stringification call. --- 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 0261a3b..7b5571e 100644 --- a/src/lib/block.ts +++ b/src/lib/block.ts @@ -172,7 +172,7 @@ abstract class Block { const data = { "subtype": this.subtype, "json_block": "true", - "block": this.toJSON() + "block": JSON.stringify(this) } const res = await rpc.call('process', data) if (res.hash == null) { -- 2.47.3