Skip to content

Commit

Permalink
Added comment to timestamp prop
Browse files Browse the repository at this point in the history
  • Loading branch information
ioay committed Apr 17, 2024
1 parent c779aab commit 175c0ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions subgraph/src/acre-bitcoin-depositor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ export function handleStakeRequestInitialized(
)

logDataBtc.activity = stakeEntity.id

// This timestamp may be different than the actual time
// when the BTC transaction took place:
// It indicates when Ethereum received event about this BTC deposit,
// not when the BTC transaction happened.
logDataBtc.timestamp = event.block.timestamp
logDataBtc.chain = "Bitcoin"
logDataBtc.amount = event.params.initialAmount
Expand Down

0 comments on commit 175c0ae

Please sign in to comment.