make AppOptions an interface{}

This commit is contained in:
Anton Kaliaev 2017-10-13 13:34:47 +04:00
parent b26f812399
commit 616b07ff6b
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ type GenesisDoc struct {
ConsensusParams *ConsensusParams `json:"consensus_params,omitempty"`
Validators []GenesisValidator `json:"validators"`
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.

View File

@ -5,8 +5,8 @@ import (
"strings"
"testing"
cmn "github.com/tendermint/tmlibs/common"
"github.com/tendermint/go-crypto"
cmn "github.com/tendermint/tmlibs/common"
)
func randPubKey() crypto.PubKey {