Skip to content

Commit

Permalink
Merge pull request #9841 from MinaProtocol/feature/removes-distinct
Browse files Browse the repository at this point in the history
  • Loading branch information
bkase authored Nov 17, 2021
2 parents a5fac22 + 9d02a93 commit 048f1ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/rosetta/lib/block.ml
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ WITH RECURSIVE chain AS (

let query =
Caqti_request.collect Caqti_type.int typ
{| SELECT DISTINCT ON (u.hash) u.id, u.type, u.fee_payer_id, u.source_id, u.receiver_id, u.fee_token, u.token, u.nonce, u.amount, u.fee,
{| SELECT u.id, u.type, u.fee_payer_id, u.source_id, u.receiver_id, u.fee_token, u.token, u.nonce, u.amount, u.fee,
u.valid_until, u.memo, u.hash,
pk1.value as fee_payer, pk2.value as source, pk3.value as receiver,
blocks_user_commands.status,
Expand Down

0 comments on commit 048f1ff

Please sign in to comment.