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

add ApiTx0PreviewResponse.feeDiscountPercent

parent 05463493
......@@ -9,6 +9,7 @@ public class ApiTx0PreviewResponse {
private long premixValue;
private long changeValue;
private int nbPremix;
private int feeDiscountPercent;
public ApiTx0PreviewResponse(Tx0Preview tx0Preview) {
this.minerFee = tx0Preview.getMinerFee();
......@@ -17,6 +18,7 @@ public class ApiTx0PreviewResponse {
this.premixValue = tx0Preview.getPremixValue();
this.changeValue = tx0Preview.getChangeValue();
this.nbPremix = tx0Preview.getNbPremix();
this.feeDiscountPercent = tx0Preview.getFeeDiscountPercent();
}
public long getMinerFee() {
......@@ -42,4 +44,8 @@ public class ApiTx0PreviewResponse {
public int getNbPremix() {
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