@ -77,6 +77,8 @@ public class Whirlpool {
private String walletId ;
private String mixToWalletId ;
private StartupService startupService ;
private final BooleanProperty startingProperty = new SimpleBooleanProperty ( false ) ;
private final BooleanProperty stoppingProperty = new SimpleBooleanProperty ( false ) ;
private final BooleanProperty mixingProperty = new SimpleBooleanProperty ( false ) ;
@ -262,6 +264,15 @@ public class Whirlpool {
httpClientService . shutdown ( ) ;
}
public StartupService createStartupService ( ) {
if ( startupService ! = null ) {
startupService . cancel ( ) ;
}
startupService = new StartupService ( this ) ;
return startupService ;
}
private WalletUtxo getUtxo ( WhirlpoolUtxo whirlpoolUtxo ) {
Wallet wallet = AppServices . get ( ) . getWallet ( walletId ) ;
if ( wallet ! = null ) {