Allow users to watch and print summaries for contracts

This commit is contained in:
Eric Meyer
2017-11-13 13:51:09 -06:00
parent f0f086e48d
commit f50a4d7726
11 changed files with 176 additions and 8 deletions
+1
View File
@@ -3,6 +3,7 @@ package testing
import "github.com/8thlight/vulcanizedb/pkg/repositories"
func ClearData(postgres repositories.Postgres) {
postgres.Db.MustExec("DELETE FROM watched_contracts")
postgres.Db.MustExec("DELETE FROM transactions")
postgres.Db.MustExec("DELETE FROM blocks")
}