File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1763,8 +1763,11 @@ func broadcastErrorMapper(err error) error {
1763
1763
// in the first place are rebroadcasted despite of their backend error.
1764
1764
// Mempool conditions change over time so it makes sense to retry
1765
1765
// publishing the transaction. Moreover we log the detailed error so the
1766
- // user can intervene and increase the size of his mempool.
1767
- case errors .Is (err , chain .ErrMempoolMinFeeNotMet ):
1766
+ // user can intervene and increase the size of his mempool or increase
1767
+ // his min relay fee configuration.
1768
+ case errors .Is (err , chain .ErrMempoolMinFeeNotMet ),
1769
+ errors .Is (err , chain .ErrMinRelayFeeNotMet ):
1770
+
1768
1771
ltndLog .Warnf ("Error while broadcasting transaction: %v" , err )
1769
1772
1770
1773
returnErr = & pushtx.BroadcastError {
Original file line number Diff line number Diff line change @@ -1133,7 +1133,9 @@ func mapRpcclientError(err error) error {
1133
1133
// If the wallet reports that fee requirements for accepting the tx
1134
1134
// into mempool are not met, convert it to our internal ErrMempoolFee
1135
1135
// and return.
1136
- case errors .Is (err , chain .ErrMempoolMinFeeNotMet ):
1136
+ case errors .Is (err , chain .ErrMempoolMinFeeNotMet ),
1137
+ errors .Is (err , chain .ErrMinRelayFeeNotMet ):
1138
+
1137
1139
return fmt .Errorf ("%w: %v" , lnwallet .ErrMempoolFee , err .Error ())
1138
1140
}
1139
1141
You can’t perform that action at this time.
0 commit comments