Skip to content

Commit

Permalink
Merge pull request #105 from 3box/release/1.1.6
Browse files Browse the repository at this point in the history
Release/1.1.6
  • Loading branch information
oed authored Jan 24, 2020
2 parents c17df82 + e9592dc commit 9686bc0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v1.1.6 - 2020-01-24
* fix: don't verify EOA type signature for erc1271 contracts

## v1.1.5 - 2020-01-15
* fix: let AWS S3 client load credentials from environment variables

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "3box-address-server",
"version": "1.1.5",
"version": "1.1.6",
"description": "Keeps track of the root store addresses to the user managed data platform",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/api/link_post.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class LinkPostHandler {
} = await handlers[version](body, cb)

// Get address from signature + msg
const address = await this.sigMgr.verify(msg, sig)
const address = type === ACCOUNT_TYPES.erc1271 ? contractAddress : await this.sigMgr.verify(msg, sig)
const consent = JSON.stringify({ msg, sig })

await this.linkMgr.store(address, did, consent, type, chainId, contractAddress, timestamp)
Expand Down

0 comments on commit 9686bc0

Please sign in to comment.