summaryrefslogtreecommitdiff
path: root/src/pubkey.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey.h')
-rw-r--r--src/pubkey.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pubkey.h b/src/pubkey.h
index b14743d..607352d 100644
--- a/src/pubkey.h
+++ b/src/pubkey.h
@@ -106,10 +106,7 @@ optional<Signed<T>> Signed<T>::load(const Ref & ref)
if (sig.value()->verify(data.value().ref))
sigs.push_back(sig.value());
- return Signed {
- .data = data.value(),
- .sigs = sigs,
- };
+ return Signed(*data, sigs);
}
template<typename T>