Skip to content

Commit

Permalink
Change swap events stream type to BreezEvent_SwapUpdated
Browse files Browse the repository at this point in the history
  • Loading branch information
erdemyerebasmaz committed Mar 27, 2024
1 parent 3c9839e commit 486d82a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/sdk-flutter/lib/breez_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,9 @@ class BreezSDK {

/* Swap Stream */

final StreamController<BreezEvent?> _swapEventsStreamController = BehaviorSubject<BreezEvent?>();
final StreamController<BreezEvent_SwapUpdated> _swapEventsStreamController = BehaviorSubject<BreezEvent_SwapUpdated>();

Stream<BreezEvent?> get swapEventsStream => _swapEventsStreamController.stream;
Stream<BreezEvent_SwapUpdated> get swapEventsStream => _swapEventsStreamController.stream;

/* On-Chain Swap API's */

Expand Down

0 comments on commit 486d82a

Please sign in to comment.