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 a7ee484 commit e8e4bba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 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,10 @@ 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 e8e4bba

Please sign in to comment.