Skip to content

Commit

Permalink
fix(su): spawn error #994
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceJuliano committed Sep 4, 2024
1 parent ec897d2 commit 7465389
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions servers/su/src/domain/core/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,12 @@ impl Process {
let tags = data_bundle.items[0].tags();
let owner = data_bundle.items[0].owner().clone();
let signature = data_bundle.items[0].signature().clone();
/*
this is commented out because of this issue
https://github.com/permaweb/ao/issues/994
let data = data_bundle.items[0].data().clone();
*/
let anchor = data_bundle.items[0].anchor().clone();

let owner_bytes = base64_url::decode(&owner)?;
let address_hash = hash(&owner_bytes);
let address = base64_url::encode(&address_hash);
Expand Down Expand Up @@ -161,7 +164,7 @@ impl Process {
tags: tags,
signature: Some(signature),
anchor: anchor_r,
data: data,
data: None,
})
}
}
Expand Down
Binary file modified servers/su/su
Binary file not shown.

0 comments on commit 7465389

Please sign in to comment.