Don't get user account

This commit is contained in:
Alexis Sellier
2021-03-07 22:39:05 +01:00
parent 988704bc37
commit eb63a73e1f
-1
View File
@@ -20,7 +20,6 @@ const tokenAbi = [
export async function getInfo(address, config) {
const contract = new ethers.Contract(address, abi, config.provider);
const signer = config.provider.getSigner();
const userAddr = await signer.getAddress();
const token = await contract.token();
const beneficiary = await contract.beneficiary();