- Don't store over client tunnels to pre-0.7.10 floodfills

This commit is contained in:
zzz
2010-01-29 13:42:42 +00:00
parent 4186894a39
commit 6d60a6f833

View File

@@ -442,6 +442,11 @@ class StoreJob extends JobImpl {
} else {
sent = msg;
_state.addPending(to);
// now that almost all floodfills are at 0.7.10,
// just refuse to store unencrypted to older ones.
_state.replyTimeout(to);
getContext().jobQueue().addJob(new WaitJob(getContext()));
return;
}
SendSuccessJob onReply = new SendSuccessJob(getContext(), peer, outTunnel, sent.getMessageSize());