Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Whirlpool
whirlpool-client-cli
Commits
94695c98
Commit
94695c98
authored
Dec 04, 2020
by
zeroleak
Browse files
add ApiTx0PreviewResponse.feeDiscountPercent
parent
05463493
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/main/java/com/samourai/whirlpool/cli/api/protocol/rest/ApiTx0PreviewResponse.java
...hirlpool/cli/api/protocol/rest/ApiTx0PreviewResponse.java
+6
-0
No files found.
src/main/java/com/samourai/whirlpool/cli/api/protocol/rest/ApiTx0PreviewResponse.java
View file @
94695c98
...
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment