Merge PR #1331: Remove TxBytes from NewContext

This commit is contained in:
Joon
2018-06-22 03:03:05 +02:00
committed by Christopher Goes
parent dc2c8f900b
commit ec6acda6a4
16 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func defaultComponents(key sdk.StoreKey) (sdk.Context, *wire.Codec) {
cms := store.NewCommitMultiStore(db)
cms.MountStoreWithDB(key, sdk.StoreTypeIAVL, db)
cms.LoadLatestVersion()
ctx := sdk.NewContext(cms, abci.Header{}, false, nil, log.NewNopLogger())
ctx := sdk.NewContext(cms, abci.Header{}, false, log.NewNopLogger())
cdc := wire.NewCodec()
return ctx, cdc
}