Closed Siegrift closed 1 month ago
Though I'm actually having a hard time understanding how both addresses can be anything but Checksum addresses in the code you linked to:
Here, airnodeAddress
is the Checksum address since that is what ethers within getAirnodeWalletFromPrivateKey()
returns. As for beacon.airnodeAddress
, it seems this too has to be the Checksum address, since otherwise ethers verifyMessage
would fail because the signature, generated with ethers signMessage
(right?), returns the Checksum address.
I actually wasn't sure just by looking at the code, so I assumed this is possible. If you've verified this is not an issue we can close this one.
I believe this works as expected.
Here we should make sure to allow comparing EIP-55 address with lowercase one.