Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix provenance in holochain call #77

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/stores/useHolochainStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,17 @@ const makeUseHolochainStore = ({ installed_app_id, app_ws_url, is_hpos_served, h
await this.signingCredentials

let result = null

const cell_id = [new Uint8Array(listify(cellId[0], (_, value) => (Number(value)))), new Uint8Array(listify(cellId[1], (_, value) => (Number(value))))]

try {
result = await this.client.callZome(
{
zome_name,
fn_name,
payload,
cell_id: [new Uint8Array(listify(cellId[0], (_, value) => (Number(value)))), new Uint8Array(listify(cellId[1], (_, value) => (Number(value))))]
cell_id,
provenance: cell_id[1]
},
HC_APP_TIMEOUT
)
Expand Down
Loading