diff --git a/lnwallet/chanfunding/coin_select_test.go b/lnwallet/chanfunding/coin_select_test.go index d58ef90b93..a20d27ac95 100644 --- a/lnwallet/chanfunding/coin_select_test.go +++ b/lnwallet/chanfunding/coin_select_test.go @@ -606,7 +606,7 @@ func TestCoinSelectSubtractFees(t *testing.T) { }, spendValue: 5 * fundingFee(highFeeRate, 1, false), - expectErr: "fee BTC on total output value BTC", + expectErr: "fee ( BTC) exceeds % of total output ( BTC)", }, } @@ -812,8 +812,8 @@ func TestCoinSelectUpToAmount(t *testing.T) { minValue: minValue, maxValue: 16 * fundingFee(feeRate, 1, false), - expectErr: "fee 0.00000192 BTC on total output value " + - "0.00000768 BTC", + expectErr: "fee (0.00000192 BTC) exceeds 20% of total output " + + "(0.00000768 BTC)", }, { // This test makes sure that the implementation detail of using // CoinSelect and CoinSelectSubtractFees is done correctly.