summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-11-06 21:29:27 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2023-11-28 21:53:03 +0100
commit1ab967bb4be90b10aef8a8521a67302d0e7a67d8 (patch)
treef6368c3108dbbaaf4ddc812845c09546f63aca26
parent648ca7febe4f09c663386ee2ea610d8ab150e053 (diff)
Network: accept extended identity in announce update
-rw-r--r--src/network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network.cpp b/src/network.cpp
index 2b8c46b..c1c9c0f 100644
--- a/src/network.cpp
+++ b/src/network.cpp
@@ -668,11 +668,11 @@ void Server::Peer::updateIdentity(ReplyBuilder &)
else if (holds_alternative<Identity>(identity)) {
if (!identityUpdates.empty()) {
decltype(identityUpdates) keep;
- vector<Stored<Signed<IdentityData>>> updates;
+ vector<StoredIdentityPart> updates;
for (auto wref : identityUpdates) {
if (auto ref = wref->check())
- updates.push_back(Stored<Signed<IdentityData>>::load(*ref));
+ updates.push_back(StoredIdentityPart::load(*ref));
else
keep.push_back(move(wref));
}