Skip to content

Commit dcc218d

Browse files
author
Pro
authored
Merge pull request #150 from benjaminbollen/gh149-correct-prefix
TokenHolder ContractInteract fix order r,s,v
2 parents 684c8ba + b9ce97a commit dcc218d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/ContractInteract/TokenHolder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class TokenHolder {
133133
*/
134134
getTokenHolderExecuteRuleCallPrefix() {
135135
const executeRuleHash = this.auxiliaryWeb3.utils.soliditySha3(
136-
'executeRule(address,bytes,uint256,uint8,bytes32,bytes32)'
136+
'executeRule(address,bytes,uint256,bytes32,bytes32,uint8)'
137137
);
138138
const executeRuleCallPrefix = executeRuleHash.substring(0, 10);
139139
return executeRuleCallPrefix;

lib/helper/TokenHolder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class TokenHolder {
8282
const oThis = this;
8383

8484
const executeRuleHash = oThis.auxiliaryWeb3.utils.soliditySha3(
85-
'executeRule(address,bytes,uint256,uint8,bytes32,bytes32)'
85+
'executeRule(address,bytes,uint256,bytes32,bytes32,uint8)'
8686
);
8787
const executeRuleCallPrefix = executeRuleHash.substring(0, 10);
8888

0 commit comments

Comments
 (0)