mirror of
https://github.com/tornadocash/tornado-subgraph.git
synced 2024-12-22 17:33:17 +01:00
Fix event origin address
This commit is contained in:
parent
69cf2b5aeb
commit
4dc3baa645
@ -30,7 +30,7 @@ export function handleDeposit(event: Deposit): void {
|
|||||||
entity.amount = result[1];
|
entity.amount = result[1];
|
||||||
entity.currency = result[0];
|
entity.currency = result[0];
|
||||||
|
|
||||||
entity.from = event.address;
|
entity.from = event.transaction.from;
|
||||||
entity.index = event.params.leafIndex;
|
entity.index = event.params.leafIndex;
|
||||||
entity.blockNumber = event.block.number;
|
entity.blockNumber = event.block.number;
|
||||||
entity.timestamp = event.block.timestamp;
|
entity.timestamp = event.block.timestamp;
|
||||||
|
Loading…
Reference in New Issue
Block a user