Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolved issue of null value from listaddresstransaction command output #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/main/java/multichain/object/TransactionWallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class TransactionWallet {
Create create = null;
AssetWalletTransaction issue = null;
List<Item> items = null;
List<String> data = null;
Object data = null;
Long confirmations = null;
String blockhash = null;
Long blockindex = null;
Expand All @@ -47,7 +47,7 @@ public TransactionWallet() {
addresses = new ArrayList<String>();
permissions = new ArrayList<PermissionDetailed>();
issue = null;
data = new ArrayList<String>();
data = new Object();
items = new ArrayList<>();

}
Expand Down Expand Up @@ -220,14 +220,14 @@ public void setItems(List<Item> items) {
/**
* @return the data
*/
public List<String> getData() {
public Object getData() {
return data;
}

/**
* @param data the data to set
*/
public void setData(List<String> data) {
public void setData(Object data) {
this.data = data;
}

Expand Down