fix abi encode error
This commit is contained in:
parent
3d66a72d4c
commit
a1958b92e1
|
@ -200,7 +200,7 @@ const RegisterSubDomain = withFormik({
|
|||
if (statusAddress && statusAddress !== props.statusContactCode) funcsToSend.push(setPubkey(node, args[3], args[4]));
|
||||
} else {
|
||||
funcsToSend.push(
|
||||
approveAndCall(UsernameRegistrar.address, Number(domainPrice), register(...args).encodeABI())
|
||||
approveAndCall(UsernameRegistrar.address, domainPrice, register(...args).encodeABI())
|
||||
);
|
||||
}
|
||||
while (funcsToSend.length) {
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"reselect": "^3.0.1",
|
||||
"styled-components": "^3.3.2",
|
||||
"typeface-roboto": "0.0.54",
|
||||
"web3-utils": "^1.0.0-beta.34"
|
||||
"web3-utils": "^1.0.0-beta.36"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||
|
|
Loading…
Reference in New Issue