Skip to content

Commit

Permalink
fix: insert transfer_send event correctly when spent as fee
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Sep 29, 2023
1 parent 76ddb24 commit fe56ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta-protocols/brc-20/pg/brc20-pg-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class Brc20PgStore extends BasePgStoreModule {
)
INSERT INTO brc20_events (operation, inscription_id, genesis_location_id, brc20_deploy_id, transfer_id, address, from_address) (
SELECT 'transfer_send', ${location.inscription_id}, ${location.id}, brc20_deploy_id, id,
${location.address}, from_address
${toAddress}, from_address
FROM validated_transfer
)
`;
Expand Down

0 comments on commit fe56ee9

Please sign in to comment.