File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- import { Address , BigInt } from '@graphprotocol/graph-ts'
1+ import { Address , BigInt , Bytes } from '@graphprotocol/graph-ts'
22import { PaymentsEscrowTransaction , Signer } from '../types/schema'
33import {
44 SignerAuthorized ,
@@ -57,7 +57,7 @@ export function handlePaymentCollected(event: PaymentCollected): void {
5757 transaction . payer = payer . id
5858 transaction . collector = event . params . dataService
5959 transaction . receiver = receiver . id
60- transaction . allocationId = Address . fromBytes ( event . params . collectionId )
60+ transaction . allocationId = Address . fromBytes ( Bytes . fromUint8Array ( event . params . collectionId . slice ( 12 ) ) )
6161 transaction . amount = event . params . tokens
6262 transaction . escrowAccount = escrow . id
6363 transaction . transactionGroupId = event . transaction . hash
You can’t perform that action at this time.
0 commit comments