securedht: use default max expiration for putSigned

This commit is contained in:
Adrien Béraud committed 2016-10-23 17:23:39 -04:00
1 parent 78d98822a5
commit 3af04a4259
1 file changed
+1 -1
+1 -1
View File
@@ -321,7 +321,7 @@ SecureDht::putSigned(const InfoHash& hash, std::shared_ptr<Value> val, DoneCallb
},
[hash,val,this,callback,permanent] (bool /* ok */) {
sign(*val);
put(hash, val, callback, {}, permanent);
put(hash, val, callback, time_point::max(), permanent);
},
Value::IdFilter(val->id)
);