sdk-triggerx 0.1.9 → 0.1.10
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/dist/api/jobs.js +1 -1
- package/package.json +1 -1
package/dist/api/jobs.js
CHANGED
|
@@ -242,7 +242,7 @@ async function createJob(client, params) {
|
|
|
242
242
|
}
|
|
243
243
|
else {
|
|
244
244
|
// autotopupTG is true, automatically top up
|
|
245
|
-
const requiredTG = Math.ceil(job_cost_prediction
|
|
245
|
+
const requiredTG = Math.ceil(job_cost_prediction); // 1 TG = 0.001 ETH
|
|
246
246
|
await (0, topupTg_1.topupTg)(requiredTG, signer);
|
|
247
247
|
}
|
|
248
248
|
}
|