Equality is always a possibility
authorChristos KK Loverdos <loverdos@gmail.com>
Tue, 10 Jan 2012 09:10:49 +0000 (11:10 +0200)
committerChristos KK Loverdos <loverdos@gmail.com>
Tue, 10 Jan 2012 09:10:49 +0000 (11:10 +0200)
src/main/scala/gr/grnet/aquarium/logic/accounting/Accounting.scala

index 1d932fa..cc1acf4 100644 (file)
@@ -65,7 +65,7 @@ trait Accounting extends DSLUtils with Loggable {
                   related: List[WalletEntry]):
   Maybe[List[WalletEntry]] = {
 
-    assert(lastUpdate.getTime < ev.occurredMillis)
+    assert(lastUpdate.getTime <= ev.occurredMillis)
 
     if (!ev.validate())
       return Failed(new AccountingException("Event not valid"))