Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion dex/feerates/oracle.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,11 @@ func (o *Oracle) calculateAverage() []int {

// Notify all listeners if we have rates to broadcast.
if len(broadCastFeeRates) > 0 {
o.listener <- broadCastFeeRates
select {
case o.listener <- broadCastFeeRates:
default:
// Listener channel is busy (or shutting down). Do not block the Oracle.
}
}

return reActivatedSourceIndexes
Expand Down
Loading