aboutsummaryrefslogtreecommitdiff
path: root/src/signer/noscrypt_signer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signer/noscrypt_signer.cpp')
-rw-r--r--src/signer/noscrypt_signer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signer/noscrypt_signer.cpp b/src/signer/noscrypt_signer.cpp
index 05872c2..0e0ff89 100644
--- a/src/signer/noscrypt_signer.cpp
+++ b/src/signer/noscrypt_signer.cpp
@@ -54,7 +54,7 @@ void nostr::signer::NoscryptSigner::sign(shared_ptr<data::Event> event)
*/
shared_ptr<NCContext> nostr::signer::NoscryptSigner::_initNoscryptContext()
{
- shared_ptr<NCContext> context(new NCContext);
+ shared_ptr<NCContext> context;
auto contextStructSize = NCGetContextStructSize();
unique_ptr<uint8_t> randomEntropy(new uint8_t[contextStructSize]);