Skip to content

Commit 2d999be

Browse files
committed
style(EventAction.ts): update comments for clarity
1 parent ff16743 commit 2d999be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/sdk/src/Actions/EventAction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,12 +1389,12 @@ function _isEventActionPayloadSimple(
13891389
export function detectSignatureType(signature: Hex): SignatureType {
13901390
const hexWithoutPrefix = signature.slice(2);
13911391

1392-
// 4-byte function selector (8 hex chars)
1392+
// 4-byte function selectors (8 hex chars)
13931393
if (hexWithoutPrefix.length === 8) {
13941394
return SignatureType.FUNC;
13951395
}
13961396

1397-
// I32-byte selectors (64 hex chars)
1397+
// 32-byte selectors (64 hex chars)
13981398
if (hexWithoutPrefix.length === 64) {
13991399
// Check if it starts with 28 bytes (56 chars) of zeros
14001400
const leadingPart = hexWithoutPrefix.slice(0, 56);

0 commit comments

Comments
 (0)