mirror of
https://github.com/grassrootseconomics/cic-chain-events.git
synced 2024-11-21 23:36:46 +01:00
fix: update tofrom addresses in event payload
This commit is contained in:
parent
659e8f5547
commit
3ac52c9373
@ -59,6 +59,7 @@ func (f *ApproveFilter) Execute(_ context.Context, transaction *fetch.Transactio
|
||||
Block: transaction.Block.Number,
|
||||
ContractAddress: celoutils.ChecksumAddress(transaction.To.Address),
|
||||
Timestamp: hexutil.MustDecodeUint64(transaction.Block.Timestamp),
|
||||
From: celoutils.ChecksumAddress(transaction.From.Address),
|
||||
To: address.Hex(),
|
||||
TxHash: transaction.Hash,
|
||||
TxIndex: transaction.Index,
|
||||
|
Loading…
Reference in New Issue
Block a user