Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2297 from bandprotocol/update-json-packet
Browse files Browse the repository at this point in the history
chain: Update json key name of request and response packets
  • Loading branch information
Benzbeeb committed Jul 23, 2020
2 parents a63ebf0 + 299de2e commit 59f6cef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

### Chain (Non-consensus)

- (bugs) [\#2297](https://github.com/bandprotocol/bandchain/pull/2297) Update json key name of request and response packets.

### Yoda

### Emitter & Flusher
Expand Down
4 changes: 2 additions & 2 deletions chain/x/oracle/types/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package types

// Result is a convenience struct that keeps both request and response packets of a request.
type Result struct {
RequestPacketData OracleRequestPacketData
ResponsePacketData OracleResponsePacketData
RequestPacketData OracleRequestPacketData `json:"request_packet_data"`
ResponsePacketData OracleResponsePacketData `json:"response_packet_data"`
}

// NewResult creates a new Result instance.
Expand Down

0 comments on commit 59f6cef

Please sign in to comment.