Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
bead4f9e
Commit
bead4f9e
authored
Oct 16, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
metamask signing fixed
parent
13b8557f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
injected.js
apps/remix-ide/src/blockchain/providers/injected.js
+1
-1
No files found.
apps/remix-ide/src/blockchain/providers/injected.js
View file @
bead4f9e
...
...
@@ -37,7 +37,7 @@ class InjectedProvider {
signMessage
(
message
,
account
,
_passphrase
,
cb
)
{
const
messageHash
=
hashPersonalMessage
(
Buffer
.
from
(
message
))
try
{
this
.
executionContext
.
web3
().
eth
.
sign
(
message
,
account
,
(
error
,
signedData
)
=>
{
this
.
executionContext
.
web3
().
eth
.
personal
.
sign
(
message
,
account
,
(
error
,
signedData
)
=>
{
cb
(
error
,
'0x'
+
messageHash
.
toString
(
'hex'
),
signedData
)
})
}
catch
(
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment