message: refactor(account-lib): refactor verify
  this change makes the verify function more readable
  TICKET:BG-48746
diff: @@ -66,8 +66,7 @@ export class Ed25519Curve implements BaseCurve {
  try {
  // Returns the message which was signed if the signature is valid
  const result = Buffer.from(sodium.crypto_sign_open(signedMessage, bigIntToBufferLE(publicKey)));
  - const isValid = !!!Buffer.compare(message, result); // Buffer compare gives 0 if equal and a non zero integer if not
  - return isValid;
  + return Buffer.compare(message, result) === 0;
  } catch (error) {
  // Invalid signature causes an exception
  return false;
  