While discussing ERC-1271 with @xenoliss, we realized that there is currently no way for Smart Wallet to sign via ERC-1271 for another Smart Wallet. To fix this, we make _validateSignature primarily switch on the ownerBytes length, rather than the signature length, which cleans up the code and allows us to remove a couple errors entirely.
While discussing ERC-1271 with @xenoliss, we realized that there is currently no way for Smart Wallet to sign via ERC-1271 for another Smart Wallet. To fix this, we make _validateSignature primarily switch on the ownerBytes length, rather than the signature length, which cleans up the code and allows us to remove a couple errors entirely.