Skip to content

Commit

Permalink
fix: save brc20 event correctly when returning to sender (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Sep 29, 2023
1 parent 54bf833 commit ea99595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pg/brc20/brc20-pg-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,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 ea99595

Please sign in to comment.