Skip to content

Commit

Permalink
remove cross canister callback stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Oct 18, 2023
1 parent 5174e75 commit cc8571a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/lib/ic/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ export function call<T extends (...args: any[]) => any>(
config?.cycles128
);

// TODO probably get rid of .crossCanisterCallback
return (method as any).crossCanisterCallback(
'_AZLE_CROSS_CANISTER_CALL',
false,
callFunction,
cycles,
Expand Down
1 change: 0 additions & 1 deletion src/lib/ic/notify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export function notify<T extends (...args: any[]) => any>(
}

return (method as any).crossCanisterCallback(
'_AZLE_CROSS_CANISTER_CALL',
true,
notifyRaw,
config?.cycles ?? 0n,
Expand Down

0 comments on commit cc8571a

Please sign in to comment.