From 5fe6df8d15255d04a7ad6f188bb5f7754a81c4be Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 2 May 2018 11:57:56 -0400 Subject: [PATCH] Changed signature split to 65 bytes. --- contracts/identity/IdentityGasRelay.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/identity/IdentityGasRelay.sol b/contracts/identity/IdentityGasRelay.sol index ca5b8d2..ec496bf 100644 --- a/contracts/identity/IdentityGasRelay.sol +++ b/contracts/identity/IdentityGasRelay.sol @@ -177,7 +177,7 @@ contract IdentityGasRelay is Identity, MessageSigned { view returns(bool) { - uint _amountSignatures = _messageSignatures.length / 72; + uint _amountSignatures = _messageSignatures.length / 65; require(_amountSignatures == purposeThreshold[_requiredKey]); bytes32 _lastKey = 0; for (uint256 i = 0; i < _amountSignatures; i++) { @@ -347,4 +347,4 @@ contract IdentityGasRelay is Identity, MessageSigned { } -} \ No newline at end of file +}