changes to plugin and commands to accomodate changes

This commit is contained in:
Ian Norden
2019-03-21 18:33:56 -05:00
parent 05c3b9bb48
commit e4e092f542
7 changed files with 70 additions and 25 deletions
+2 -2
View File
@@ -36,8 +36,8 @@ type GenericWatcher struct {
BlockChain core.BlockChain
}
func NewGenericWatcher(db *postgres.DB, bc core.BlockChain) *GenericWatcher {
return &GenericWatcher{
func NewGenericWatcher(db *postgres.DB, bc core.BlockChain) GenericWatcher {
return GenericWatcher{
DB: db,
BlockChain: bc,
}