mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-10 10:05:19 -04:00
fixed stupid serialisation error causing routing matrix not to be loaded properly
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7357 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
72a61959e2
commit
7f9fde8c1d
2 changed files with 3 additions and 2 deletions
|
@ -450,7 +450,7 @@ uint32_t RsGRouterMatrixFriendListItem::serial_size() const
|
|||
{
|
||||
uint32_t s = 8 ; // header
|
||||
s += 4 ; // reverse_friend_indices.size()
|
||||
s += RsFileHash::SIZE_IN_BYTES * reverse_friend_indices.size() ; // sha1 for published_key
|
||||
s += RsPeerId::SIZE_IN_BYTES * reverse_friend_indices.size() ; // sha1 for published_key
|
||||
|
||||
return s ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue