From 1c1dc421a324fd6c5b60a0aee8af97e8761fdbdd Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 1 Jul 2021 16:44:40 +0530 Subject: [PATCH] fix broken block archival --- lib/commands/block.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/block.js b/lib/commands/block.js index ea6a19dc2..195e0c494 100644 --- a/lib/commands/block.js +++ b/lib/commands/block.js @@ -167,7 +167,7 @@ Block.writeLoginBlock = function (Env, safeKey, msg, _cb) { }); }; -const DELETE_BLOCK = Nacl.util.decodeUTF8('DELETE_BLOCK'); +const DELETE_BLOCK = Nacl.util.encodeBase64(Nacl.util.decodeUTF8('DELETE_BLOCK')); /* When users write a block, they upload the block, and provide