mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-21 07:24:36 +00:00
App -> App()
This commit is contained in:
committed by
Jae Kwon
parent
e59de906f7
commit
f03547007a
@@ -68,7 +68,7 @@ func GenPrivValidator() *PrivValidator {
|
||||
LastHeight: 0,
|
||||
LastRound: 0,
|
||||
LastStep: stepNone,
|
||||
filename: config.App.GetString("PrivValidatorFile"),
|
||||
filename: config.App().GetString("PrivValidatorFile"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -55,7 +55,7 @@ func TestCopyState(t *testing.T) {
|
||||
func makeBlock(t *testing.T, state *State, commits []blk.Commit, txs []blk.Tx) *blk.Block {
|
||||
block := &blk.Block{
|
||||
Header: &blk.Header{
|
||||
Network: config.App.GetString("Network"),
|
||||
Network: config.App().GetString("Network"),
|
||||
Height: state.LastBlockHeight + 1,
|
||||
Time: state.LastBlockTime.Add(time.Minute),
|
||||
Fees: 0,
|
||||
|
||||
Reference in New Issue
Block a user