Fix logging of vaa as hex (#345)
This commit is contained in:
parent
412ef5e221
commit
f77987df70
|
@ -541,7 +541,7 @@ async function executeMultisigTx(
|
|||
);
|
||||
const { vaaBytes } = await response.json();
|
||||
console.log(`VAA (Base64): ${vaaBytes}`);
|
||||
console.log(`VAA (Hex): ${Buffer.from(vaaBytes).toString("hex")}`);
|
||||
console.log(`VAA (Hex): ${Buffer.from(vaaBytes, "base64").toString("hex")}`);
|
||||
const parsedVaa = await parse(vaaBytes);
|
||||
console.log(`Emitter chain: ${parsedVaa.emitter_chain}`);
|
||||
console.log(`Nonce: ${parsedVaa.nonce}`);
|
||||
|
|
Loading…
Reference in New Issue