Skip to content

Commit 21e950a

Browse files
committed
fix(Fix bug): fix personal_sign demo
1 parent f2e9bdf commit 21e950a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/basic-dapp/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ async function walletInitialized() {
915915
provider
916916
.request({
917917
method: 'cfx_personalSign',
918-
params: [from, JSON.stringify(msgParams)],
918+
params: [from, '0x123'],
919919
})
920920
.then((result) => {
921921
getElement('personal_sign_result').innerHTML = JSON.stringify(result)

0 commit comments

Comments
 (0)