Don't save vaaKey as local variable
This commit is contained in:
parent
5a2d0b77cc
commit
a9172379c5
|
@ -96,10 +96,9 @@ library WormholeRelayerSerde {
|
|||
pure
|
||||
returns (bytes memory encoded)
|
||||
{
|
||||
bytes memory vaaKey = encodeVaaKey(strct.deliveryVaaKey);
|
||||
encoded = abi.encodePacked(
|
||||
PAYLOAD_ID_REDELIVERY_INSTRUCTION,
|
||||
vaaKey,
|
||||
encodeVaaKey(strct.deliveryVaaKey),
|
||||
strct.targetChain,
|
||||
strct.newRequestedReceiverValue,
|
||||
encodeBytes(strct.newEncodedExecutionInfo),
|
||||
|
|
Loading…
Reference in New Issue