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
Wed, Nov 6, 2:07 AM (11 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2427380
Default Alt Text
D5152.diff (657 B)

Event Timeline