fix get_public_node call in test_msg_getaddress