apenft-js-tron 2.0.7 → 2.0.8-beta.0
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.
|
@@ -225,7 +225,7 @@ var ContractSchemas = /** @class */ (function (_super) {
|
|
|
225
225
|
};
|
|
226
226
|
if (broadcast.message)
|
|
227
227
|
err.message = this.web3.toUtf8(broadcast.message);
|
|
228
|
-
|
|
228
|
+
return [2 /*return*/, Promise.reject(new error_1.APENFTError({ code: '4003', context: err }))];
|
|
229
229
|
}
|
|
230
230
|
if (!options.shouldPollResponse) {
|
|
231
231
|
defer.resolve(signedTransaction.txID);
|
|
@@ -300,9 +300,7 @@ var ContractSchemas = /** @class */ (function (_super) {
|
|
|
300
300
|
});
|
|
301
301
|
});
|
|
302
302
|
};
|
|
303
|
-
|
|
304
|
-
checkResult();
|
|
305
|
-
}
|
|
303
|
+
checkResult();
|
|
306
304
|
return [2 /*return*/, Promise.resolve({ txHash: signedTransaction.txID, txSend: defer.eventEmitter })];
|
|
307
305
|
}
|
|
308
306
|
});
|