-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-18508] ledger utility always outputs txNum
This patch fixes a bug reported in FAB-18508, and makes the ledger troubleshooting utility output always the record "txNum". The bug occurred when the target transaction is the first transaction of a block (i.e. txNum == 0). This patch removes the `omitempty` attributes from all the members of a record. Note that this patch also changes the output when a key is missing in either snapshot. For a missing snapshot, 'null' will be output instead of an empty object ({}). Signed-off-by: Taku Shimosawa <taku.shimosawa.uf@hitachi.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters