Skip to content
Snippets Groups Projects
Commit 343fbe62 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

securedht: use default max expiration for putSigned

parent 9b1e85ce
No related branches found
No related tags found
No related merge requests found
...@@ -333,7 +333,7 @@ SecureDht::putSigned(const InfoHash& hash, std::shared_ptr<Value> val, DoneCallb ...@@ -333,7 +333,7 @@ SecureDht::putSigned(const InfoHash& hash, std::shared_ptr<Value> val, DoneCallb
}, },
[hash,val,this,callback,permanent] (bool /* ok */) { [hash,val,this,callback,permanent] (bool /* ok */) {
sign(*val); sign(*val);
put(hash, val, callback, {}, permanent); put(hash, val, callback, time_point::max(), permanent);
}, },
Value::IdFilter(val->id) Value::IdFilter(val->id)
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment