0.1.2 webhooks; other minor changes to messages and comments

This commit is contained in:
aaron-jack-manning
2022-07-15 13:23:01 +10:00
parent daf7242f10
commit 11de1e7256
7 changed files with 517 additions and 9 deletions

View File

@@ -320,7 +320,7 @@ impl Client {
/// Retrieve a specific transaction by providing its unique identifier.
pub async fn get_transaction(&self, id : &String) -> Result<GetTransactionResponse, error::Error> {
// This assertion is because without an ID the request is thought to be a request for
// many accounts, and therefore the error messages are very unclear.
// many transactions, and therefore the error messages are very unclear.
if id.is_empty() {
panic!("The provided transaction ID must not be empty.");
}