We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c2e913 commit 8e4758aCopy full SHA for 8e4758a
lazer/js/src/publish.ts
@@ -79,7 +79,7 @@ client.addMessageListener(async (message) => {
79
console.log("rawData:", rawData);
80
81
// Decode the base64 encoded data
82
- const instructionMessage = Buffer.from(rawData!, "base64");
+ const instructionMessage = Buffer.from(rawData!, "hex");
83
console.log("instructionMessage:", instructionMessage);
84
85
// Create the ed25519 instruction
@@ -170,6 +170,6 @@ client.ws.addEventListener("open", () => {
170
chains: ["solana"],
171
deliveryFormat: "json",
172
channel: "real_time",
173
- jsonBinaryEncoding: "base64",
+ jsonBinaryEncoding: "hex",
174
});
175
0 commit comments