Skip to content

Commit

Permalink
set default zero bid
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Jun 6, 2024
1 parent 4da5e56 commit 001f955
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Job.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 001f955

Please sign in to comment.