mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
chore: fix comment
Signed-off-by: avoidaway <cmoman@126.com>
This commit is contained in:
parent
f3c44e6f3e
commit
53daf4f9e3
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ public class SettingsWalletForm extends WalletForm {
|
||||||
}
|
}
|
||||||
|
|
||||||
//Returns true for any change, other than a keystore label change, to trigger a full wallet refresh
|
//Returns true for any change, other than a keystore label change, to trigger a full wallet refresh
|
||||||
//Even though this is not strictly necessary for some changes, it it better to refresh on saving so background transaction history updates on the old wallet have no effect/are not lost
|
//Even though this is not strictly necessary for some changes, it is better to refresh on saving so background transaction history updates on the old wallet have no effect/are not lost
|
||||||
private boolean isRefreshNecessary(Wallet original, Wallet changed) {
|
private boolean isRefreshNecessary(Wallet original, Wallet changed) {
|
||||||
if(!original.isValid() || !changed.isValid()) {
|
if(!original.isValid() || !changed.isValid()) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue