Skip to content

Commit

Permalink
Merge pull request #322 from airswap/buffer-to-hex-sigs
Browse files Browse the repository at this point in the history
Converting buffer to hex for ecsign signatures
  • Loading branch information
Don Mosites committed Nov 25, 2019
2 parents 401c447 + 90a1d2c commit d339abf
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion source/delegate-factory/package.json
Expand Up @@ -21,7 +21,7 @@
"verify": "truffle run verify"
},
"devDependencies": {
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"@airswap/test-utils": "0.1.1",
"solidity-coverage": "^0.6.3"
},
Expand Down
2 changes: 1 addition & 1 deletion source/delegate/package.json
Expand Up @@ -21,7 +21,7 @@
"verify": "truffle run verify"
},
"devDependencies": {
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"@airswap/test-utils": "0.1.1",
"solidity-coverage": "^0.6.3"
},
Expand Down
2 changes: 1 addition & 1 deletion source/index/package.json
Expand Up @@ -21,7 +21,7 @@
"verify": "truffle run verify"
},
"devDependencies": {
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"@airswap/test-utils": "0.1.1",
"@airswap/tokens": "0.1.3",
"bignumber.js": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion source/indexer/package.json
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@airswap/index": "0.3.2",
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"@airswap/test-utils": "0.1.1",
"@airswap/types": "0.4.3",
"bignumber.js": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion source/swap/package.json
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@airswap/tokens": "0.1.3",
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"@airswap/test-utils": "0.1.1",
"truffle": "^5.0.32",
"@gnosis.pm/mock-contract": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion source/types/package.json
Expand Up @@ -22,7 +22,7 @@
},
"devDependencies": {
"@airswap/tokens": "0.1.3",
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"solidity-coverage": "^0.6.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion source/wrapper/package.json
Expand Up @@ -22,7 +22,7 @@
"verify": "truffle run verify"
},
"devDependencies": {
"@airswap/order-utils": "0.3.9",
"@airswap/order-utils": "0.3.10",
"@airswap/test-utils": "0.1.1",
"solidity-coverage": "^0.6.3"
},
Expand Down
2 changes: 1 addition & 1 deletion utils/order-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@airswap/order-utils",
"version": "0.3.9",
"version": "0.3.10",
"description": "JavaScript utilities for orders, hashes, and signatures in the Swap Protocol",
"license": "Apache-2.0",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions utils/order-utils/src/signatures.js
Expand Up @@ -52,8 +52,8 @@ module.exports = {
validator: verifyingContract,
version: signatures.SIGN_TYPED_DATA,
v,
r,
s,
r: ethUtil.bufferToHex(r),
s: ethUtil.bufferToHex(s),
}
},
getPersonalSignature(order, privateKey, verifyingContract) {
Expand Down

0 comments on commit d339abf

Please sign in to comment.