changes to plugin and commands to accomodate changes

This commit is contained in:
Ian Norden committed 2019-03-21 18:33:56 -05:00
1 parent 05c3b9bb48
commit e4e092f542
7 files changed
+70 -25

No files matched your search

+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,
}