diff --git a/web/app.fluidity.money/app/util/chainUtils/ethereum/transaction.ts b/web/app.fluidity.money/app/util/chainUtils/ethereum/transaction.ts index 0cb71bf20..e2ac9ce53 100644 --- a/web/app.fluidity.money/app/util/chainUtils/ethereum/transaction.ts +++ b/web/app.fluidity.money/app/util/chainUtils/ethereum/transaction.ts @@ -1002,14 +1002,13 @@ export enum AirdropElection { Claim = 0, Stake, ConvertToSpn -}; +} export const signAirdropElection_ = async ( signer: Signer, option: AirdropElection ): Promise => { - const address = await signer.getAddress(); - var optionStr = ""; + let optionStr = ""; switch (option) { case AirdropElection.Claim: optionStr = "claim";