@cryptorubic/web3 1.0.0-alpha.no-sdk.42 → 1.0.0-alpha.no-sdk.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ class TronAdapter extends abstract_adapter_1.AbstractAdapter {
|
|
|
25
25
|
}
|
|
26
26
|
initWeb3Client() {
|
|
27
27
|
const rpc = typeof this.rpcList[0] === 'string' ? this.rpcList[0] : this.rpcList[0].fullHost;
|
|
28
|
-
this.public = new tronweb_1.TronWeb({ fullHost: rpc
|
|
28
|
+
this.public = new tronweb_1.TronWeb({ fullHost: rpc });
|
|
29
29
|
}
|
|
30
30
|
async callContractMethod(contractAddress, contractAbi, methodName, methodArguments = []) {
|
|
31
31
|
this.public.setAddress(contractAddress);
|