mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-29 10:56:24 +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) ||
|
mustBeEthereumAddress(contractAddress) ||
|
||||||
(await mustBeEthereumContractAddress(contractAddress))
|
(await mustBeEthereumContractAddress(contractAddress))
|
||||||
) {
|
) {
|
||||||
return NO_CONTRACT
|
return
|
||||||
}
|
}
|
||||||
const network = getNetwork()
|
const network = getNetwork()
|
||||||
const source = getConfiguredSource()
|
const source = getConfiguredSource()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user