Remove an unnecessary save point in ToyWallet.

This commit is contained in:
Mike Hearn 2012-03-01 18:56:02 +01:00
parent 40bd728703
commit 0a473a8d76

View file

@ -248,12 +248,6 @@ public class ToyWallet {
// between confidence states.
int txIndex = transactions.indexOf(tx);
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);