Skip to content

Commit

Permalink
fix decodeHyperlaneMessageObject
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgenii Akentev committed Apr 8, 2024
1 parent 85301ef commit 8440bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Crypto/Hash/HyperlaneNatives.hs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ decodeHyperlaneMessageObject o = do
hmVersion <- grabInt @Word8 om "version"
hmNonce <- grabInt @Word32 om "nonce"
hmOriginDomain <- grabInt @Word32 om "originDomain"
hmSender <- decodeHex "sender" =<< grabField om "sender" _LString
hmSender <- Text.encodeUtf8 <$> grabField om "sender" _LString
hmDestinationDomain <- grabInt @Word32 om "destinationDomain"
hmRecipient <- decodeHex "recipient" =<< grabField om "recipient" _LString

Expand Down

0 comments on commit 8440bb2

Please sign in to comment.