Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
d7e4cf87
Commit
d7e4cf87
authored
Aug 11, 2021
by
github-actions
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transpile
435eaf1a
parent
d70b6f20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
merge-upstream.yml
.github/workflows/merge-upstream.yml
+1
-1
utilities.adoc
docs/modules/ROOT/pages/utilities.adoc
+1
-1
No files found.
.github/workflows/merge-upstream.yml
View file @
d7e4cf87
...
@@ -24,4 +24,4 @@ jobs:
...
@@ -24,4 +24,4 @@ jobs:
-
run
:
bash scripts/upgradeable/merge-upstream.sh
-
run
:
bash scripts/upgradeable/merge-upstream.sh
env
:
env
:
REF
:
${{ github.event.client_payload.ref || github.ref}}
REF
:
${{ github.event.client_payload.ref || github.ref}}
-
run
:
git push
-
run
:
git push
origin
docs/modules/ROOT/pages/utilities.adoc
View file @
d7e4cf87
...
@@ -15,7 +15,7 @@ The data signer can be recovered with xref:api:cryptography.adoc#ECDSA-recover-b
...
@@ -15,7 +15,7 @@ The data signer can be recovered with xref:api:cryptography.adoc#ECDSA-recover-b
----
----
using ECDSA for bytes32;
using ECDSA for bytes32;
function _verify(bytes32 data,
address account)
pure returns (bool) {
function _verify(bytes32 data,
bytes memory signature, address account) internal
pure returns (bool) {
return keccak256(data)
return keccak256(data)
.toEthSignedMessageHash()
.toEthSignedMessageHash()
.recover(signature) == account;
.recover(signature) == account;
...
...
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