Skip to content

Commit

Permalink
Use base64 for Terra Station signing at sign-in. (#7245)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaviask authored and ilijabojanovic committed Mar 26, 2024
1 parent 3519c24 commit 658e2f8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ class TerraStationWebWalletController implements IWebWallet<TerraAddress> {

try {
const signBytesResult = await window.station.signBytes(
Buffer.from(canvas.serializeSessionPayload(canvasSessionPayload)),
Buffer.from(
canvas.serializeSessionPayload(canvasSessionPayload),
).toString('base64'),
);

result = signBytesResult;
Expand Down

0 comments on commit 658e2f8

Please sign in to comment.