Skip to content

Commit

Permalink
Update contract.js
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored Dec 4, 2023
1 parent 07907f3 commit 4528b58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ const provider = new bitcoin(providerUrl);
const ldkProvider = new ldk(providerUrl);

class DLCContract {
constructor(address, api, provider) {
constructor(address, api, provider, contract) {
this.address = address;
this.api = api;
this.contract = contract;
this.provider = provider;
this.contract = new this.provider.dlc.Contract(api, address);
}
Expand Down

0 comments on commit 4528b58

Please sign in to comment.