Skip to content

Commit aecce3c

Browse files
committed
update readme
1 parent 69b4fc4 commit aecce3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function signTransactions(txns) {
7070
// Warning: Browser will block pop-up if user doesn't trigger lute.signData() with a button click
7171
async function authenticate() {
7272
try {
73-
const siwxRequest: Siwx = {
73+
const siwaRequest: Siwa = {
7474
domain: location.host,
7575
chain_id: "283",
7676
account_address: activeAccount.value.address,
@@ -83,7 +83,7 @@ async function authenticate() {
8383
"issued-at": new Date().toISOString(),
8484
};
8585

86-
const data = Buffer.from(JSON.stringify(siwxRequest)).toString("base64");
86+
const data = Buffer.from(JSON.stringify(siwaRequest)).toString("base64");
8787
const metadata: SignMetadata = {
8888
scope: ScopeType.AUTH,
8989
encoding: "base64",

0 commit comments

Comments
 (0)