mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-26 01:56:44 +00:00
improve mix config retrieval
This commit is contained in:
parent
67836b2b55
commit
b4f4cc8726
1 changed files with 5 additions and 1 deletions
|
@ -235,7 +235,11 @@ public class Wallet extends Persistable {
|
|||
return mixConfig;
|
||||
}
|
||||
|
||||
public MixConfig getOrCreateMixConfig() {
|
||||
public MixConfig getMasterMixConfig() {
|
||||
if(!isMasterWallet()) {
|
||||
return getMasterWallet().getMasterMixConfig();
|
||||
}
|
||||
|
||||
if(mixConfig == null) {
|
||||
mixConfig = new MixConfig();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue