mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-10 09:20:04 +01:00
Remove an unnecessary save point in ToyWallet.
This commit is contained in:
parent
40bd728703
commit
0a473a8d76
1 changed files with 0 additions and 6 deletions
|
@ -248,12 +248,6 @@ public class ToyWallet {
|
||||||
// between confidence states.
|
// between confidence states.
|
||||||
int txIndex = transactions.indexOf(tx);
|
int txIndex = transactions.indexOf(tx);
|
||||||
fireContentsChanged(this, txIndex, txIndex);
|
fireContentsChanged(this, txIndex, txIndex);
|
||||||
// Confidences may have changed.
|
|
||||||
try {
|
|
||||||
wallet.saveToFile(walletFile);
|
|
||||||
} catch (IOException e) {
|
|
||||||
throw new RuntimeException(e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
fireIntervalAdded(this, transactions.size() - 1, transactions.size() - 1);
|
fireIntervalAdded(this, transactions.size() - 1, transactions.size() - 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue