diff --git a/core/src/main/java/com/google/bitcoin/core/Wallet.java b/core/src/main/java/com/google/bitcoin/core/Wallet.java index db6c23cbe..ab84d3039 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -456,14 +456,15 @@ public class Wallet implements Serializable, BlockChainListener, PeerFilterProvi } } - private void saveLater() { + /** Requests an asynchronous save on a background thread */ + protected void saveLater() { WalletFiles files = vFileManager; if (files != null) files.saveLater(); } /** If auto saving is enabled, do an immediate sync write to disk ignoring any delays. */ - private void saveNow() { + protected void saveNow() { WalletFiles files = vFileManager; if (files != null) { try {