mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-11-02 21:47:18 +00:00
Don't print transaction purposes twice in wallet dump.
This commit is contained in:
@@ -27,7 +27,6 @@ import com.google.common.util.concurrent.*;
|
||||
import com.google.protobuf.*;
|
||||
import net.jcip.annotations.*;
|
||||
import org.bitcoin.protocols.payments.Protos.*;
|
||||
import org.bitcoinj.core.Transaction.Purpose;
|
||||
import org.bitcoinj.core.TransactionConfidence.*;
|
||||
import org.bitcoinj.crypto.*;
|
||||
import org.bitcoinj.params.*;
|
||||
@@ -2830,9 +2829,6 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha
|
||||
builder.append(tx.getValueSentToMe(this).toFriendlyString());
|
||||
builder.append(", total value ");
|
||||
builder.append(tx.getValue(this).toFriendlyString());
|
||||
final Purpose purpose = tx.getPurpose();
|
||||
if (purpose != null)
|
||||
builder.append(", purpose: ").append(purpose);
|
||||
builder.append(".\n");
|
||||
} catch (ScriptException e) {
|
||||
// Ignore and don't print this line.
|
||||
|
||||
Reference in New Issue
Block a user