core
core copied to clipboard
KeyringController:signPersonalMessage does not fail if empty data is passed.
KeyringController:signMessage fails if empty data is passed but KeyringController:signPersonalMessage does not fails if empty data is passed.
Does the spec require that the data be non-empty? Worth confirming that - maybe this is fine.
Also we should check to see if it's possible that a dapp is relying upon this. We might be forced to preserve this behavior for backwards-compatibility.