Skip to content

Commit

Permalink
Optionized 'key' and 'value' fields in abci_query RPC response
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Nov 27, 2019
1 parent c7ba507 commit 573a36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tendermint/src/rpc/endpoint/abci_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ pub struct AbciQuery {

/// Key
// TODO(tarcieri): parse to Vec<u8>?
pub key: String,
pub key: Option<String>,

/// Value
// TODO(tarcieri): parse to Vec<u8>?
pub value: String,
pub value: Option<String>,

/// Proof (if requested)
pub proof: Option<Proof>,
Expand Down

0 comments on commit 573a36b

Please sign in to comment.