Update README; Remove GetEvents() from Application

This commit is contained in:
Jae Kwon
2015-11-16 15:50:26 -08:00
parent d319c5be0d
commit 201bf2374b
5 changed files with 19 additions and 25 deletions
+2 -6
View File
@@ -51,9 +51,9 @@ func (dapp *DummyApplication) Info() []string {
return []string{Fmt("size:%v", dapp.state.Size())}
}
func (dapp *DummyApplication) AppendTx(tx []byte) types.RetCode {
func (dapp *DummyApplication) AppendTx(tx []byte) ([]types.Event, types.RetCode) {
dapp.state.Set(tx, tx)
return 0
return nil, 0
}
func (dapp *DummyApplication) GetHash() ([]byte, types.RetCode) {
@@ -82,7 +82,3 @@ func (dapp *DummyApplication) AddListener(key string) types.RetCode {
func (dapp *DummyApplication) RemListener(key string) types.RetCode {
return 0
}
func (dapp *DummyApplication) GetEvents() []types.Event {
return nil
}