Skip to content

Commit 4528b58

Browse files
authored
Update contract.js
1 parent 07907f3 commit 4528b58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/contract.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ const provider = new bitcoin(providerUrl);
55
const ldkProvider = new ldk(providerUrl);
66

77
class DLCContract {
8-
constructor(address, api, provider) {
8+
constructor(address, api, provider, contract) {
99
this.address = address;
1010
this.api = api;
11+
this.contract = contract;
1112
this.provider = provider;
1213
this.contract = new this.provider.dlc.Contract(api, address);
1314
}

0 commit comments

Comments
 (0)