Skip to content

Commit

Permalink
tests: added outputSpendingFee to test fees
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb committed Nov 28, 2024
1 parent 7a8537a commit 678dd6a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/ldk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const setupLdk = async (
maxAllowedNonAnchorChannelRemoteFee: 10,
onChainSweep: 10,
minAllowedNonAnchorChannelRemoteFee: 10,
outputSpendingFee: 10,
}),
getTransactionData,
getTransactionPosition,
Expand Down
1 change: 1 addition & 0 deletions example/tests/eclair.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ describe('Eclair', function () {
anchorChannelFee: 10,
nonAnchorChannelFee: 20,
channelCloseMinimum: 5,
outputSpendingFee: 10,
});
},
});
Expand Down
2 changes: 2 additions & 0 deletions example/tests/unit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ describe('Unit', function () {
minAllowedAnchorChannelRemoteFee: 5,
minAllowedNonAnchorChannelRemoteFee: 5,
onChainSweep: 5,
outputSpendingFee: 5,
});
},
getTransactionData: async () => ({
Expand Down Expand Up @@ -214,6 +215,7 @@ describe('Unit', function () {
minAllowedAnchorChannelRemoteFee: 5,
minAllowedNonAnchorChannelRemoteFee: 5,
onChainSweep: 5,
outputSpendingFee: 5,
});
},
getTransactionData: async () => ({

Check warning on line 221 in example/tests/unit.ts

View workflow job for this annotation

GitHub Actions / Run lint check

Missing return type on function
Expand Down
1 change: 1 addition & 0 deletions example/tests/utils/test-profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default class TestProfile {
anchorChannelFee: 2,
nonAnchorChannelFee: 3,
channelCloseMinimum: 1,
outputSpendingFee: 5,
}),
getTransactionData: this.getTransactionData,
getTransactionPosition: this.getTransactionPosition,
Expand Down

0 comments on commit 678dd6a

Please sign in to comment.