fix saving of dht item

This commit is contained in:
Denis Ryabov 2014-07-08 01:44:27 +04:00
parent 8429d95dba
commit dc275c0b29

View File

@ -698,8 +698,7 @@ bool node_impl::save_storage(entry &save) const {
entry_item["sig_user"] = item.sig_user;
if( item.local_add_time )
entry_item["local_add_time"] = item.local_add_time;
if( item.confirmed )
entry_item["confirmed"] = item.confirmed ? 0 : 1;
entry_item["confirmed"] = item.confirmed ? 0 : 1;
save_list.list().push_back(entry_item);
}
}