Skip to content

Conversation

nikunj-dhameliya
Copy link
Contributor

@nikunj-dhameliya nikunj-dhameliya commented Mar 27, 2020

When we add metadata with the transaction and this metadata is in JSON form then pick it up using the getaddresstransaction command which causes problems.
This command returns a null value for that specific transaction which contains json metadata.
The reason is simple, here we have the data type of the data attribute is list and we try to get json on that attribute from the transaction.
Just convert it to object data type and it works fine because, the java object data type can handle any complex object stored in the transaction data attribute.
This change won't affect to existing normal transaction which does not contain any metadata.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant