private void protobufSerializeWallet(@Nonnull final Wallet wallet) throws IOException { final long start = System.currentTimeMillis(); wallet.saveToFile(walletFile); // make wallets world accessible in test mode if (Constants.TEST) Io.chmod(walletFile, 0777); log.debug( "wallet saved to: '" + walletFile + "', took " + (System.currentTimeMillis() - start) + "ms"); }
@Override public void onAfterAutoSave(final File file) { // make wallets world accessible in test mode if (Constants.TEST) Io.chmod(file, 0777); }