Guillermo Bescos Alapont 2 rokov pred
rodič
commit
013e30dd54

+ 3 - 1
xc-admin/packages/xc-admin-common/src/propose.ts

@@ -152,7 +152,9 @@ export async function wrapAsRemoteInstruction(
     provider
   );
 
-  const buffer = new ExecutePostedVaa("pythnet", [instruction]);
+  const buffer: Buffer = new ExecutePostedVaa("pythnet", [
+    instruction,
+  ]).encode();
 
   const accounts = getPostMessageAccounts(
     wormholeAddress,