We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65ed258 commit 6517f07Copy full SHA for 6517f07
watcher/src/watchers/AptosWatcher.ts
@@ -62,7 +62,7 @@ export class AptosWatcher extends Watcher {
62
const timestamp = new Date(Number(block.block_timestamp) / 1000).toISOString();
63
const blockKey = [block.block_height, timestamp, sequence_number].join('/'); // use custom block key for now so we can include sequence number
64
// Data.sender is a decimal as a string. It needs to be hexadecimal.
65
- const emitter = Number(data.sender).toString(16).padStart(64, '0');
+ const emitter = BigInt(data.sender).toString(16).padStart(64, '0');
66
const vaaKey = makeVaaKey(transaction.hash, this.chain, emitter, data.sequence);
67
vaasByBlock[blockKey] = [...(vaasByBlock[blockKey] ?? []), vaaKey];
68
})
0 commit comments