From a0299d9247db6fed65eb14e0c9136f65b1d6a020 Mon Sep 17 00:00:00 2001 From: Jeff Lau Date: Wed, 8 May 2019 11:40:30 +0800 Subject: [PATCH] Fix reclaim --- src/api/registrar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/registrar.js b/src/api/registrar.js index 258b33cc0..7823460e9 100644 --- a/src/api/registrar.js +++ b/src/api/registrar.js @@ -259,7 +259,7 @@ export const reclaim = async ({ name, address }) => { const nameArray = name.split('.') const labelHash = web3.utils.sha3(nameArray[0]) const account = await getAccount() - const { permanentRegistrarRead: Registrar } = await getPermanentRegistrar() + const { permanentRegistrar: Registrar } = await getPermanentRegistrar() return () => Registrar.reclaim(labelHash, address).send({ from: account