We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2234bfa commit 5dac5fcCopy full SHA for 5dac5fc
src/utils/buildRawMessage.ts
@@ -91,7 +91,7 @@ export async function validateToRawMessage (
91
case StrictNoSign:
92
if (msg.signature != null) return { valid: false, error: ValidateError.SignaturePresent }
93
if (msg.seqno != null) return { valid: false, error: ValidateError.SeqnoPresent }
94
- if (msg.key != null) return { valid: false, error: ValidateError.FromPresent }
+ if (msg.from != null) return { valid: false, error: ValidateError.FromPresent }
95
96
return { valid: true, message: { type: 'unsigned', topic: msg.topic, data: msg.data ?? new Uint8Array(0) } }
97
0 commit comments