@cryptorubic/web3 1.5.1-alpha.tron.6 → 1.5.1-alpha.tron.7
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
|
@@ -144,7 +144,7 @@ class TronAdapter extends abstract_adapter_1.AbstractAdapter {
|
|
|
144
144
|
console.log('[multicallContractsMethods] outputs ==>', outputs);
|
|
145
145
|
let outputIndex = 0;
|
|
146
146
|
return contractsData.map((contractData) => contractData.methodsData.map((methodData) => {
|
|
147
|
-
const output = outputs[outputIndex];
|
|
147
|
+
const output = outputs.returnData[outputIndex];
|
|
148
148
|
if (!output) {
|
|
149
149
|
console.log('[multicallContractsMethods] Error index:', { outputIndex, outputs });
|
|
150
150
|
return { output: null, success: false };
|