Fixed callAsync template. Previously did not append callData, so we couldn’t specify from address

This commit is contained in:
Greg Hysen
2018-06-19 17:21:31 -07:00
parent d46e3f6778
commit 783ac3c105

View File

@@ -15,6 +15,7 @@ async callAsync(
const callDataWithDefaults = await BaseContract._applyDefaultsToTxDataAsync(
{
to: self.address,
...callData,
data: encodedData,
},
self._web3Wrapper.getContractDefaults(),