diff options
Diffstat (limited to 'src/pubkey.cpp')
-rw-r--r-- | src/pubkey.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp index 3a08c70..6f6c1e7 100644 --- a/src/pubkey.cpp +++ b/src/pubkey.cpp @@ -122,10 +122,7 @@ optional<Signature> Signature::load(const Ref & ref) if (!key || !sig) return nullopt; - return Signature { - .key = key.value(), - .sig = sig.value(), - }; + return Signature(*key, *sig); } Ref Signature::store(const Storage & st) const |