mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
fixes from @cloudhead review
This commit is contained in:
@ -3,11 +3,9 @@ package client
|
||||
// ABCIQueryOptions can be used to provide options for ABCIQuery call other
|
||||
// than the DefaultABCIQueryOptions.
|
||||
type ABCIQueryOptions struct {
|
||||
Height uint64
|
||||
Prove bool
|
||||
Height uint64
|
||||
Trusted bool
|
||||
}
|
||||
|
||||
// DefaultABCIQueryOptions are latest height (0) and prove equal to true.
|
||||
func DefaultABCIQueryOptions() ABCIQueryOptions {
|
||||
return ABCIQueryOptions{Height: 0, Prove: true}
|
||||
}
|
||||
var DefaultABCIQueryOptions = ABCIQueryOptions{Height: 0, Trusted: false}
|
||||
|
Reference in New Issue
Block a user