Skip to content

Commit

Permalink
Merge pull request #235 from UniqueNetwork/fix/start-connection
Browse files Browse the repository at this point in the history
Change start scan status value
  • Loading branch information
icehuntmen committed Mar 23, 2023
2 parents 5c59b0e + df624b5 commit 1c63582
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ export class HarvesterStoreService {
);
if (status.length == 0) {
await em.query(
`INSERT INTO ${this.stateSchema}.status (id, height) VALUES (0, -1)`,
`INSERT INTO ${this.stateSchema}.status (id, height) VALUES (0, 1)`,
);
return -1;
return 1;
} else {
return status[0].height;
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "polkastats-backend-uniquenetwork",
"version": "2.0.11",
"version": "2.0.12",
"description": "",
"author": "Unique Network Team",
"private": true,
Expand Down

0 comments on commit 1c63582

Please sign in to comment.