Skip to content

Commit

Permalink
Merge pull request #411 from permaweb/jfrain99/drive-halt-not-admissible
Browse files Browse the repository at this point in the history
fix(weavedrive): halt if not admissible
  • Loading branch information
jfrain99 authored Dec 18, 2024
2 parents a603b00 + a10346c commit 44d7110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/weavedrive/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44d7110

Please sign in to comment.