Skip to content

Commit 79f7cf0

Browse files
authored
fix: remove duplicate pubkey conversion (#531)
Signed-off-by: Chen Kai <[email protected]>
1 parent 5dac5fc commit 79f7cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/buildRawMessage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export async function validateToRawMessage (
160160
sequenceNumber: BigInt(`0x${uint8ArrayToString(msg.seqno, 'base16')}`),
161161
topic: msg.topic,
162162
signature: msg.signature,
163-
key: msg.key != null ? publicKeyFromProtobuf(msg.key) : publicKey
163+
key: publicKey
164164
}
165165
}
166166
}

0 commit comments

Comments
 (0)