mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-04 21:36:45 +00:00
dynamically retrieve currently selected pool when tx0 preview is fetched
This commit is contained in:
parent
c39425ed3b
commit
86247c6440
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ public class WhirlpoolController {
|
||||||
});
|
});
|
||||||
tx0PreviewsService.setOnSucceeded(workerStateEvent -> {
|
tx0PreviewsService.setOnSucceeded(workerStateEvent -> {
|
||||||
tx0Previews = tx0PreviewsService.getValue();
|
tx0Previews = tx0PreviewsService.getValue();
|
||||||
Tx0Preview tx0Preview = tx0Previews.getTx0Preview(pool.getPoolId());
|
Tx0Preview tx0Preview = tx0Previews.getTx0Preview(this.pool.getValue().getPoolId());
|
||||||
tx0PreviewProperty.set(tx0Preview);
|
tx0PreviewProperty.set(tx0Preview);
|
||||||
});
|
});
|
||||||
tx0PreviewsService.setOnFailed(workerStateEvent -> {
|
tx0PreviewsService.setOnFailed(workerStateEvent -> {
|
||||||
|
|
Loading…
Reference in a new issue