Commit 55f08b70 authored by zeroleak's avatar zeroleak
Browse files

add ApiUtxo.address

parent 880b873c
......@@ -10,6 +10,7 @@ public class ApiUtxo {
private long value;
private int confirmations;
private String path;
private String address;
private WhirlpoolAccount account;
private WhirlpoolUtxoStatus status;
......@@ -31,6 +32,7 @@ public class ApiUtxo {
this.value = utxo.value;
this.confirmations = utxo.confirmations;
this.path = utxo.xpub.path;
this.address = utxo.addr;
this.account = whirlpoolUtxo.getAccount();
WhirlpoolUtxoState utxoState = whirlpoolUtxo.getUtxoState();
......@@ -72,6 +74,10 @@ public class ApiUtxo {
return path;
}
public String getAddress() {
return address;
}
public WhirlpoolAccount getAccount() {
return account;
}
......
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