Update contract naming per Eric PR review
This commit is contained in:
@@ -14,5 +14,5 @@ func main() {
|
||||
flag.Parse()
|
||||
config := cmd.LoadConfig(*environment)
|
||||
repository := repositories.NewPostgres(config.Database)
|
||||
repository.CreateContract(core.Contract{Hash: *contractHash})
|
||||
repository.CreateWatchedContract(core.WatchedContract{Hash: *contractHash})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user