Skip to content

Commit 678dd6a

Browse files
committed
tests: added outputSpendingFee to test fees
1 parent 7a8537a commit 678dd6a

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

example/ldk/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ export const setupLdk = async (
134134
maxAllowedNonAnchorChannelRemoteFee: 10,
135135
onChainSweep: 10,
136136
minAllowedNonAnchorChannelRemoteFee: 10,
137+
outputSpendingFee: 10,
137138
}),
138139
getTransactionData,
139140
getTransactionPosition,

example/tests/eclair.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ describe('Eclair', function () {
112112
anchorChannelFee: 10,
113113
nonAnchorChannelFee: 20,
114114
channelCloseMinimum: 5,
115+
outputSpendingFee: 10,
115116
});
116117
},
117118
});

example/tests/unit.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ describe('Unit', function () {
7171
minAllowedAnchorChannelRemoteFee: 5,
7272
minAllowedNonAnchorChannelRemoteFee: 5,
7373
onChainSweep: 5,
74+
outputSpendingFee: 5,
7475
});
7576
},
7677
getTransactionData: async () => ({
@@ -214,6 +215,7 @@ describe('Unit', function () {
214215
minAllowedAnchorChannelRemoteFee: 5,
215216
minAllowedNonAnchorChannelRemoteFee: 5,
216217
onChainSweep: 5,
218+
outputSpendingFee: 5,
217219
});
218220
},
219221
getTransactionData: async () => ({

example/tests/utils/test-profile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ export default class TestProfile {
8282
anchorChannelFee: 2,
8383
nonAnchorChannelFee: 3,
8484
channelCloseMinimum: 1,
85+
outputSpendingFee: 5,
8586
}),
8687
getTransactionData: this.getTransactionData,
8788
getTransactionPosition: this.getTransactionPosition,

0 commit comments

Comments
 (0)