Changed signature split to 65 bytes.

This commit is contained in:
Richard Ramos 2018-05-02 11:57:56 -04:00 committed by GitHub
parent 52d9983ae6
commit 5fe6df8d15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ contract IdentityGasRelay is Identity, MessageSigned {
view view
returns(bool) returns(bool)
{ {
uint _amountSignatures = _messageSignatures.length / 72; uint _amountSignatures = _messageSignatures.length / 65;
require(_amountSignatures == purposeThreshold[_requiredKey]); require(_amountSignatures == purposeThreshold[_requiredKey]);
bytes32 _lastKey = 0; bytes32 _lastKey = 0;
for (uint256 i = 0; i < _amountSignatures; i++) { for (uint256 i = 0; i < _amountSignatures; i++) {
@ -347,4 +347,4 @@ contract IdentityGasRelay is Identity, MessageSigned {
} }
} }