mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 06:42:16 +00:00
make AppOptions an interface{}
This commit is contained in:
parent
b26f812399
commit
616b07ff6b
@ -29,7 +29,7 @@ type GenesisDoc struct {
|
|||||||
ConsensusParams *ConsensusParams `json:"consensus_params,omitempty"`
|
ConsensusParams *ConsensusParams `json:"consensus_params,omitempty"`
|
||||||
Validators []GenesisValidator `json:"validators"`
|
Validators []GenesisValidator `json:"validators"`
|
||||||
AppHash data.Bytes `json:"app_hash"`
|
AppHash data.Bytes `json:"app_hash"`
|
||||||
AppOptions *json.RawMessage `json:"app_options,omitempty"`
|
AppOptions interface{} `json:"app_options,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SaveAs is a utility method for saving GenensisDoc as a JSON file.
|
// SaveAs is a utility method for saving GenensisDoc as a JSON file.
|
||||||
|
@ -5,8 +5,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
cmn "github.com/tendermint/tmlibs/common"
|
|
||||||
"github.com/tendermint/go-crypto"
|
"github.com/tendermint/go-crypto"
|
||||||
|
cmn "github.com/tendermint/tmlibs/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
func randPubKey() crypto.PubKey {
|
func randPubKey() crypto.PubKey {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user