InvictusInnovations/keyhotee — pull request #27 by vipjeffreylee (2013-12-09 06:34:40+00:00)
Title: fix bug ‘struct bts::bitname::name_record’ has no member named ‘pub_key’

/home/jeffrey/Git/keyhotee/AddressBook/ContactView.cpp: In member function ‘void ContactView::onSave()’:
/home/jeffrey/Git/keyhotee/AddressBook/ContactView.cpp:127:60: error: ‘struct bts::bitname::name_record’ has no member named ‘pub_key’
/home/jeffrey/Git/keyhotee/AddressBook/ContactView.cpp: In member function ‘void ContactView::lookupId()’:
/home/jeffrey/Git/keyhotee/AddressBook/ContactView.cpp:448:81: error: ‘struct bts::bitname::name_record’ has no member named ‘pub_key’

struct name_record not contain pub_key,I guess shuld be active_key.
name_record
BitShares/include/bts/bitname_record.hpp
struct name_record
{
name_record()
:revoked(false),age(0),repute(0){}

/** handle to/from hex conversion */
uint64_t get_name_hash()const;
void set_name_hash( uint64_t h );

fc::time_point_sec last_update; ///< the most recent update of this name
fc::ecc::public_key_data master_key; ///< the public key paired to this name.
fc::ecc::public_key_data active_key; ///< the public key paired to this name.
bool revoked; ///< this name has been canceled, by its owner (invalidating the public key)
uint32_t age; ///< first block this name was registered in
uint32_t repute; ///< how many repute points have been earned by this name
std::string name_hash; ///< the unique hash assigned to this name, in hex format
fc::optional name; ///< if we know the name that generated the hash
};