Skip to content

Commit c9e8073

Browse files
committed
fix: Polymer packet decoding
1 parent 8641f54 commit c9e8073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/collector/polymer/polymer.service.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ const bootstrap = async () => {
163163

164164
// Derive the message identifier
165165
const amb: AmbMessage = {
166-
messageIdentifier: '0x' + packet[3].slice(1 * 2, 1 * 2 + 32 * 2),
166+
messageIdentifier: '0x' + params[3].slice(1 * 2, 1 * 2 + 32 * 2),
167167
amb: 'polymer',
168168
sourceChain: chainId,
169169
destinationChain,
170-
payload: packet[3],
170+
payload: params[3],
171171
};
172172

173173
// Set the collect message on-chain. This is not the proof but the raw message.

0 commit comments

Comments
 (0)