We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff16743 commit 2d999beCopy full SHA for 2d999be
packages/sdk/src/Actions/EventAction.ts
@@ -1389,12 +1389,12 @@ function _isEventActionPayloadSimple(
1389
export function detectSignatureType(signature: Hex): SignatureType {
1390
const hexWithoutPrefix = signature.slice(2);
1391
1392
- // 4-byte function selector (8 hex chars)
+ // 4-byte function selectors (8 hex chars)
1393
if (hexWithoutPrefix.length === 8) {
1394
return SignatureType.FUNC;
1395
}
1396
1397
- // I32-byte selectors (64 hex chars)
+ // 32-byte selectors (64 hex chars)
1398
if (hexWithoutPrefix.length === 64) {
1399
// Check if it starts with 28 bytes (56 chars) of zeros
1400
const leadingPart = hexWithoutPrefix.slice(0, 56);
0 commit comments