Page MenuHomePhabricator

D5152.diff
No OneTemporary

D5152.diff

diff --git a/landing/siwe.react.js b/landing/siwe.react.js
--- a/landing/siwe.react.js
+++ b/landing/siwe.react.js
@@ -53,10 +53,10 @@
async function signInWithEthereum(address, signer) {
const message = createSiweMessage(address, 'Sign in to Comm with Ethereum');
- const signedMessage = await signer.signMessage(message);
- const messageToPost = JSON.stringify({ address, signer });
+ const signature = await signer.signMessage(message);
+ const messageToPost = JSON.stringify({ address, signature });
window.ReactNativeWebView?.postMessage?.(messageToPost);
- return signedMessage;
+ return signature;
}
function SIWE(): React.Node {

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 8:12 AM (19 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2600220
Default Alt Text
D5152.diff (657 B)

Event Timeline