Commit 94695c98 authored by zeroleak's avatar zeroleak
Browse files

add ApiTx0PreviewResponse.feeDiscountPercent

parent 05463493
...@@ -9,6 +9,7 @@ public class ApiTx0PreviewResponse { ...@@ -9,6 +9,7 @@ public class ApiTx0PreviewResponse {
private long premixValue; private long premixValue;
private long changeValue; private long changeValue;
private int nbPremix; private int nbPremix;
private int feeDiscountPercent;
public ApiTx0PreviewResponse(Tx0Preview tx0Preview) { public ApiTx0PreviewResponse(Tx0Preview tx0Preview) {
this.minerFee = tx0Preview.getMinerFee(); this.minerFee = tx0Preview.getMinerFee();
...@@ -17,6 +18,7 @@ public class ApiTx0PreviewResponse { ...@@ -17,6 +18,7 @@ public class ApiTx0PreviewResponse {
this.premixValue = tx0Preview.getPremixValue(); this.premixValue = tx0Preview.getPremixValue();
this.changeValue = tx0Preview.getChangeValue(); this.changeValue = tx0Preview.getChangeValue();
this.nbPremix = tx0Preview.getNbPremix(); this.nbPremix = tx0Preview.getNbPremix();
this.feeDiscountPercent = tx0Preview.getFeeDiscountPercent();
} }
public long getMinerFee() { public long getMinerFee() {
...@@ -42,4 +44,8 @@ public class ApiTx0PreviewResponse { ...@@ -42,4 +44,8 @@ public class ApiTx0PreviewResponse {
public int getNbPremix() { public int getNbPremix() {
return nbPremix; return nbPremix;
} }
public int getFeeDiscountPercent() {
return feeDiscountPercent;
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment