Log is now interface

This commit is contained in:
obscuren
2014-12-04 12:35:23 +01:00
parent bff5999efa
commit 3043b233ea
10 changed files with 75 additions and 30 deletions

View File

@ -37,7 +37,7 @@ func (self *StateDB) EmptyLogs() {
self.logs = nil
}
func (self *StateDB) AddLog(log *Log) {
func (self *StateDB) AddLog(log Log) {
self.logs = append(self.logs, log)
}