diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-09 16:44:23 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-07-09 17:13:21 +0800 |
commit | 258fe8ea50f3cf2a78649827c3a7899ebc7a7734 (patch) | |
tree | f9ff3c38c072f14c4a90babbc8321ada99b89c95 /packages/contract_templates/partials | |
parent | 813824868ea1e091974a672ce8a63093f643c680 (diff) | |
download | dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.tar dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.tar.gz dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.tar.bz2 dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.tar.lz dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.tar.xz dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.tar.zst dexon-sol-tools-258fe8ea50f3cf2a78649827c3a7899ebc7a7734.zip |
Render callAsync in templates even if it returns nothing
Diffstat (limited to 'packages/contract_templates/partials')
-rw-r--r-- | packages/contract_templates/partials/callAsync.handlebars | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/contract_templates/partials/callAsync.handlebars b/packages/contract_templates/partials/callAsync.handlebars index 35fbe3c85..fcaae57c6 100644 --- a/packages/contract_templates/partials/callAsync.handlebars +++ b/packages/contract_templates/partials/callAsync.handlebars @@ -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}} |