Skip to content

Commit b9ce97a

Browse files
TokenHolder: (duplicated in lib/helper lib/ContractInteract; fixed the order of r,s,v; should be followed up and use ABI
1 parent 684c8ba commit b9ce97a

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)