From d4884360544880593084dd3ba0cecdca1c76bbbb Mon Sep 17 00:00:00 2001 From: fernandomg Date: Wed, 3 Jun 2020 16:30:51 -0300 Subject: [PATCH] avoid populating abi field with invalid data if it's not required --- .../SendModal/screens/ContractInteraction/utils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/utils/index.ts b/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/utils/index.ts index 19397012..64f67457 100644 --- a/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/utils/index.ts +++ b/src/routes/safe/components/Balances/SendModal/screens/ContractInteraction/utils/index.ts @@ -21,7 +21,7 @@ export const abiExtractor = createDecorator({ mustBeEthereumAddress(contractAddress) || (await mustBeEthereumContractAddress(contractAddress)) ) { - return NO_CONTRACT + return } const network = getNetwork() const source = getConfiguredSource()