mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 23:55:43 +00:00
avoid unnecessary parentheses
This commit is contained in:
parent
718c772da1
commit
d7f2a33414
@ -28,7 +28,7 @@ proc checkTxIdIsEligible(txHash: TxHash, ethClient: string): Future[bool] {.asyn
|
|||||||
let hasExpectedToAddress = (toAddress == Address.fromHex("0x5e809a85aa182a9921edd10a4163745bb3e36284"))
|
let hasExpectedToAddress = (toAddress == Address.fromHex("0x5e809a85aa182a9921edd10a4163745bb3e36284"))
|
||||||
defer:
|
defer:
|
||||||
await web3.close()
|
await web3.close()
|
||||||
return (hasExpectedValue and hasExpectedToAddress)
|
return hasExpectedValue and hasExpectedToAddress
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
return false
|
return false
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user