mulit: use min relay fee error

This commit is contained in:
ziggie committed 2025-09-16 14:25:42 +02:00
1 parent 5bcea78dc2
commit 9a83b3838f
3 files changed
+14 -5

No files matched your search

+3 -1
View File
@@ -1133,7 +1133,9 @@ func mapRpcclientError(err error) error {
// If the wallet reports that fee requirements for accepting the tx
// into mempool are not met, convert it to our internal ErrMempoolFee
// and return.
case errors.Is(err, chain.ErrMempoolMinFeeNotMet):
case errors.Is(err, chain.ErrMempoolMinFeeNotMet),
errors.Is(err, chain.ErrMinRelayFeeNotMet):
return fmt.Errorf("%w: %v", lnwallet.ErrMempoolFee, err.Error())
}