Account::hash_message is actually a static function, there's no point in having it under Accounts. It would be more convenient to be able to access this function without creating an Account and a Transport. I've kept the Accounts::hash_message function for backward compatibility reasons though.
I've moved hash_message to api/mod.rs as I haven't found a better place for it, but I'm open to suggestions. Is there already place for static functions like this under api somewhere?
Let me know if I need to do anything else, because this is my first contribution for this project!
Account::hash_message is actually a static function, there's no point in having it under Accounts. It would be more convenient to be able to access this function without creating an Account and a Transport. I've kept the Accounts::hash_message function for backward compatibility reasons though. I've moved hash_message to api/mod.rs as I haven't found a better place for it, but I'm open to suggestions. Is there already place for static functions like this under api somewhere?
Let me know if I need to do anything else, because this is my first contribution for this project!