Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: startup with pre-defined values. (#35)
When tx-sitter starts with pre-defined relayer in the config, it inserts records about it in the DB. When the tx-sitter restarts, it fails to insert the same record again with the following error message: > Error: error returned from database: duplicate key value violates unique constraint "networks_pkey" > > Caused by: > duplicate key value violates unique constraint "networks_pkey" After this commit if a conflicting record is detected, do nothing.
- Loading branch information