Skip to content

Commit ed80cb0

Browse files
Add the actual JSON path where Transaction#info is put. (#909)
1 parent 936df02 commit ed80cb0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

exonum-java-binding/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2929

3030
### Fixed
3131
- The default [`Transaction#info`][tx-info-07] implementation causing an error on `transaction`
32-
request. It is modified to return an empty object (no info) by default. (#904)
32+
request. It is modified to return an empty object by default (no info in `content.debug` field
33+
of the response to `transaction`). (#904)
3334

3435
[tx-info-07]: https://exonum.com/doc/api/java-binding-core/0.7.0/com/exonum/binding/transaction/Transaction.html#info()
3536

exonum-java-binding/core/src/main/java/com/exonum/binding/transaction/Transaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public interface Transaction {
4444
* Returns the information about this transaction in JSON format.
4545
* For example, it is included in the blockchain explorer response to
4646
* a <a href="https://exonum.com/doc/version/0.11/advanced/node-management/#transaction">
47-
* transaction</a> request.
47+
* transaction</a> request as 'content.debug'.
4848
*
4949
* <p>By default, no information is provided. If needed, it can be easily implemented
5050
* with {@linkplain com.exonum.binding.common.serialization.json.JsonSerializer Gson}:

0 commit comments

Comments
 (0)