App -> App()

This commit is contained in:
Matthew Wampler-Doty
2015-03-18 23:27:26 -07:00
committed by Jae Kwon
parent e59de906f7
commit f03547007a
13 changed files with 97 additions and 85 deletions
+1 -1
View File
@@ -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
View File
@@ -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,