Disable check for unique sender name in parcel contracts. It seems OK if occasionally we get senders of the same name, but the alternative may result in silent disappearance of already accepted contracts, which is not good.

This commit is contained in:
AnotherCommander 2016-05-27 18:29:53 +02:00
parent 94675dbf05
commit 2605da1a94

View File

@ -944,7 +944,10 @@ for (unsigned i=0;i<amount;i++)
NULL];
// extra checks, just in case.
if ([parcel_record objectForKey:Name] != nil) return NO;
// FIXME: do we absolutely need this check? can we live
// with parcels of senders who happen to have the same
// name? - Nikos 20160527
//if ([parcel_record objectForKey:Name] != nil) return NO;
if (risk > 1)
{