Render callAsync in templates even if it returns nothing

This commit is contained in:
Leonid Logvinov
2018-07-09 10:44:23 +02:00
parent 813824868e
commit 258fe8ea50

View File

@@ -1,4 +1,3 @@
{{#hasReturnValue}}
async callAsync(
{{> typed_params inputs=inputs}}
callData: Partial<CallData> = {},
@@ -27,4 +26,3 @@ async callAsync(
resultArray = BaseContract._formatABIDataItemList(outputAbi, resultArray, BaseContract._bnToBigNumber.bind(this));
return resultArray{{#singleReturnValue}}[0]{{/singleReturnValue}};
},
{{/hasReturnValue}}