Skip to content

Commit

Permalink
Set tipChanged subject's buffer size to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
moreal committed Sep 15, 2023
1 parent f5ec650 commit 647d3f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public PreloadStateType()

private BlockHeader? _tipHeader;

private ISubject<TipChanged> _subject = new ReplaySubject<TipChanged>();
private ISubject<TipChanged> _subject = new ReplaySubject<TipChanged>(1);

private ISubject<Transaction> _transactionSubject = new Subject<Transaction>();

Expand Down

0 comments on commit 647d3f3

Please sign in to comment.