encode_account_id

Function encode_account_id 

Source
pub fn encode_account_id(bytes: &[u8; 20]) -> String
Expand description

Encode bytes as a classic address (starting with r…)

§Examples

use ripple_address_codec::encode_account_id;

assert_eq!(encode_account_id(&[0; 20]), "rrrrrrrrrrrrrrrrrrrrrhoLvTp");