pub fn which_agent(key: &AgentPubKey) -> String {
    let key = key.to_string();
    let alice = fake_agent_pubkey_1().to_string();
    let bob = fake_agent_pubkey_2().to_string();
    if key == alice {
        return "alice".to_string();
    }
    if key == bob {
        return "bob".to_string();
    }
    key
}
/// Keeping with convention if Alice is pubkey 1
/// and bob is pubkey 2 the this helps make test
/// logging easier to read.
Keeping with convention if Alice is pubkey 1
and bob is pubkey 2 the this helps make test
logging easier to read.
Keeping with convention if Alice is pubkey 1 and bob is pubkey 2 the this helps make test logging easier to read .
pub fn which_agent(key: &AgentPubKey) -> String {
    let key = key.to_string();
    let alice = fake_agent_pubkey_1().to_string();
    let bob = fake_agent_pubkey_2().to_string();
    if key == alice {
        return "alice".to_string();
    }
    if key == bob {
        return "bob".to_string();
    }
    key
}
pub fn which_agent ( key : & AgentPubKey ) -> String { let key = key . to_string ( ) ; let alice = fake_agent_pubkey_1 ( ) . to_string ( ) ; let bob = fake_agent_pubkey_2 ( ) . to_string ( ) ; if key == alice { return " " . to_string ( ) ; } if key == bob { return " " . to_string ( ) ; } key }
Keeping with convention if Alice is pubkey 1
and bob is pubkey 2 the this helps make test
logging easier to read.
Keeping with convention if Alice is pubkey 1 and bob is pubkey 2 the this helps make test logging easier to read .
key
&AgentPubKey
key
&AgentPubKey