public bool Equals(RawTransaction other) => Nonce == other.Nonce && Signer.SequenceEqual(other.Signer) && PublicKey.SequenceEqual(other.PublicKey) && GenesisHash.SequenceEqual(other.GenesisHash) && UpdatedAddresses.SequenceEqual( other.UpdatedAddresses) && Timestamp == other.Timestamp && Signature.SequenceEqual(other.Signature) && Actions.SequenceEqual(other.Actions);
public bool Equals(RawTransaction other) { bool eq = Signer.SequenceEqual(other.Signer) && PublicKey.SequenceEqual(other.PublicKey) && UpdatedAddresses.SequenceEqual(other.UpdatedAddresses) && Timestamp == other.Timestamp && Actions.SequenceEqual(other.Actions); if (Signature == null) { return(eq && other.Signature == null); } else { return(eq && Signature.SequenceEqual(other.Signature)); } }