fix abi encode error

This commit is contained in:
Barry Gitarts 2018-09-28 15:48:02 -04:00 committed by Barry G
parent 3d66a72d4c
commit a1958b92e1
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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",