Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

hotfix: fix bug related ds os table #2505

Merged
merged 3 commits into from
Aug 20, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG_UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

### Emitter & Flusher

- (bugs) [\#2505](https://github.com/bandprotocol/bandchain/pull/2505) fix bug related ds os table.
- (feat) [\#2476](https://github.com/bandprotocol/bandchain/pull/2476) Implemented `historical_bonded_token_on_validators` table
- (impv) [\#2495](https://github.com/bandprotocol/bandchain/pull/2495) Implemented `historical_oracle_statuses` table
- (impv) [\#2452](https://github.com/bandprotocol/bandchain/pull/2452) Implemented view table to calculate oracle script response time
Expand Down
2 changes: 1 addition & 1 deletion flusher/flusher/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def handle_new_raw_request(self, msg):
self.handle_update_related_ds_os(
{
"oracle_script_id": self.conn.execute(
select([requests.c.oracle_script_id]).where(accounts.c.id == msg["request_id"])
select([requests.c.oracle_script_id]).where(requests.c.id == msg["request_id"])
).scalar(),
"data_source_id": msg["data_source_id"],
}
Expand Down