pub fn add_checksum(address: &str) -> Result<String> {
    assert!(input_validator::is_address(address));
    let mut address_with_checksum = address.to_string();
    address_with_checksum += &calculate_checksum(address)?;
    Ok(address_with_checksum)
}
/// Adds a checksum to provided address
Adds a checksum to provided address
Adds a checksum to provided address
pub fn add_checksum(address: &str) -> Result<String> {
    assert!(input_validator::is_address(address));
    let mut address_with_checksum = address.to_string();
    address_with_checksum += &calculate_checksum(address)?;
    Ok(address_with_checksum)
}
pub fn add_checksum ( address : & str ) -> Result < String > { assert ! ( input_validator is_address ( address ) ) ; let mut address_with_checksum = address . to_string ( ) ; address_with_checksum += & calculate_checksum ( address ) ? ; Ok ( address_with_checksum ) }
Adds a checksum to provided address
Adds a checksum to provided address
address
&str