Skip to content

Commit

Permalink
Update HyperlaneNatives.hs
Browse files Browse the repository at this point in the history
  • Loading branch information
ak3n authored May 10, 2024
1 parent f5c90f1 commit f945d7d
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 @@ -320,7 +320,7 @@ decodeHyperlaneTokenMessageObject :: Object Name -> Either HyperlaneError TokenM
decodeHyperlaneTokenMessageObject o = do
let om = _objectMap (_oObject o)

tmRecipient <- decodeBase64 <$> grabField om "recipient" _LString
tmRecipient <- decodeBase64 "recipient" =<< grabField om "recipient" _LString
tmAmount <- decimalToWord <$> grabField om "amount" _LDecimal
tmChainId <- parseChainId =<< grabField om "chainId" _LString

Expand Down

0 comments on commit f945d7d

Please sign in to comment.