mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-24 21:31:32 +00:00
Use new param
This commit is contained in:
@ -99,6 +99,9 @@ export const v5_callFunction = async (
|
||||
}),
|
||||
);
|
||||
|
||||
const returnTypeVoid =
|
||||
def.arrow.codomain.tag === "nil" || def.arrow.codomain.items.length === 0;
|
||||
|
||||
const params = {
|
||||
peer,
|
||||
args: callArgs,
|
||||
@ -108,6 +111,7 @@ export const v5_callFunction = async (
|
||||
const result = await callAquaFunction({
|
||||
script,
|
||||
...params,
|
||||
fireAndForget: returnTypeVoid,
|
||||
});
|
||||
|
||||
const valueSchema =
|
||||
|
Reference in New Issue
Block a user