Skip to content

Commit

Permalink
Update StandardTransactionBuilder.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Hibero committed Mar 1, 2014
1 parent 65967e8 commit c78539d
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -40,8 +40,9 @@

public class StandardTransactionBuilder {

public static final long MINIMUM_MINER_FEE = 10000;
public static final long MINIMUM_OUTPUT_VALUE = 5430;
public static final long MINIMUM_MINER_FEE = 1000000; //Changed to min fee of Peercoin
//public static final long MINIMUM_OUTPUT_VALUE = 5430; //original
public static final long MINIMUM_OUTPUT_VALUE = MINIMUM_MINER_FEE; //Since the minimum miner fee is the minimum output value for peercoin

public static class InsufficientFundsException extends Exception {
//todo consider refactoring this into a composite return value instead of an exception. it is not really "exceptional"
Expand All @@ -51,7 +52,7 @@ public static class InsufficientFundsException extends Exception {
public long fee;

public InsufficientFundsException(long sending, long fee) {
super("Insufficient funds to send " + sending + " satoshis with fee " + fee);
super("Insufficient funds to send " + sending + " peers with fee " + fee);
this.sending = sending;
this.fee = fee;
}
Expand Down

0 comments on commit c78539d

Please sign in to comment.