From 73e640e3b3319cbebac06dbbdc992253eda41de6 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Wed, 30 May 2012 16:17:45 +0200 Subject: [PATCH] Take out a bogus assert that did not do what I thought it did. --- core/src/main/java/com/google/bitcoin/core/Wallet.java | 2 -- 1 file changed, 2 deletions(-) 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 b9fcf9bc..7a9eb454 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -19,7 +19,6 @@ package com.google.bitcoin.core; import com.google.bitcoin.core.WalletTransaction.Pool; import com.google.bitcoin.store.WalletProtobufSerializer; import com.google.bitcoin.utils.EventListenerInvoker; -import com.google.common.base.Preconditions; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -185,7 +184,6 @@ public class Wallet implements Serializable { * once written. */ public synchronized void saveToFile(File f) throws IOException { - Preconditions.checkArgument(f.isFile()); FileOutputStream stream = null; File temp = null; try {