Skip to content

Commit

Permalink
Fix queries
Browse files Browse the repository at this point in the history
Signed-off-by: deniallugo <[email protected]>
  • Loading branch information
Deniallugo committed Jul 29, 2022
1 parent 2a7ab11 commit 324d086
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions core/lib/storage/src/chain/operations_ext/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1229,10 +1229,10 @@ impl<'a, 'c> OperationsExtSchema<'a, 'c> {
r#"
SELECT
sequence_number,
tx_hash,
operation as op,
block_number,
created_at,
tx_hash as "tx_hash!",
operation as "op!",
block_number as "block_number!",
created_at as "created_at!",
true as "success!",
Null as fail_reason,
eth_hash as "eth_hash?",
Expand Down Expand Up @@ -1260,11 +1260,11 @@ impl<'a, 'c> OperationsExtSchema<'a, 'c> {
r#"
SELECT
sequence_number,
tx_hash,
tx as op,
block_number,
created_at,
success,
tx_hash as "tx_hash!",
tx as "op!",
block_number as "block_number!",
created_at as "created_at!",
success as "success!",
fail_reason,
Null::bytea as eth_hash,
Null::bigint as priority_op_serialid,
Expand Down

0 comments on commit 324d086

Please sign in to comment.