From 001f955f556557014a8332a2d802c3a8ebf15311 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Thu, 6 Jun 2024 18:11:41 +0200 Subject: [PATCH] set default zero bid --- src/Job.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Job.ts b/src/Job.ts index 58f6e45..0f1e8f0 100644 --- a/src/Job.ts +++ b/src/Job.ts @@ -128,6 +128,12 @@ export default class Job implements _Job { this.userId = userId; } + this.bid={ + amount: 0, + currency: "bitcoin", + protocol: "lightning", + }; + if (minWorkers) this.minWorkers = minWorkers; }