From a10346c79f4b03d19198d1921c74e2f5d95b513d Mon Sep 17 00:00:00 2001 From: Jack Frain Date: Wed, 18 Dec 2024 11:30:43 -0500 Subject: [PATCH] fix(weavedrive): halt if not admissible --- extensions/weavedrive/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/weavedrive/src/index.js b/extensions/weavedrive/src/index.js index 2db55ddb..57a7d261 100644 --- a/extensions/weavedrive/src/index.js +++ b/extensions/weavedrive/src/index.js @@ -56,7 +56,7 @@ module.exports = function weaveDrive (mod, FS) { if (!await this.checkAdmissible(id)) { // console.log("WeaveDrive: Arweave ID is not admissable! ", id) - return 0 + return 'HALT' } // Create the file in the emscripten FS