mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-13 11:34:08 +00:00
avoid populating abi field with invalid data if it's not required
This commit is contained in:
parent
78682a90af
commit
d488436054
@ -21,7 +21,7 @@ export const abiExtractor = createDecorator({
|
||||
mustBeEthereumAddress(contractAddress) ||
|
||||
(await mustBeEthereumContractAddress(contractAddress))
|
||||
) {
|
||||
return NO_CONTRACT
|
||||
return
|
||||
}
|
||||
const network = getNetwork()
|
||||
const source = getConfiguredSource()
|
||||
|
Loading…
x
Reference in New Issue
Block a user