mirror of
				https://git.wownero.com/wowlet/wowlet.git
				synced 2024-08-15 01:03:14 +00:00 
			
		
		
		
	Store wallet immediately upon finishing sync
This commit is contained in:
		
							parent
							
								
									6c8255b12b
								
							
						
					
					
						commit
						d84ee4692d
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -721,7 +721,8 @@ void AppContext::onWalletRefreshed(bool success) {
 | 
				
			||||||
    if (!this->refreshed) {
 | 
					    if (!this->refreshed) {
 | 
				
			||||||
        refreshModels();
 | 
					        refreshModels();
 | 
				
			||||||
        this->refreshed = true;
 | 
					        this->refreshed = true;
 | 
				
			||||||
        this->storeWallet();
 | 
					        // store wallet immediately upon finishing synchronization
 | 
				
			||||||
 | 
					        this->currentWallet->store();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    qDebug() << "Wallet refresh status: " << success;
 | 
					    qDebug() << "Wallet refresh status: " << success;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue