Changeset 280 for trunk

Show
Ignore:
Timestamp:
04/27/09 22:06:08 (3 years ago)
Author:
ocjhb
Message:

playing with splitting coins

Location:
trunk/sandbox/jhb/oc2
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/sandbox/jhb/oc2/authorizer.py

    r268 r280  
    3838            mkc = self.getMKCById(keyid) 
    3939            amount += self.denominationToValue(mkc.denomination) 
    40         if amount > 100: 
     40        if amount > 10000: 
    4141            error = messages.Error() 
    4242            error.text = 'way too much' 
  • trunk/sandbox/jhb/oc2/wallet.py

    r279 r280  
    206206        secrets = [] 
    207207        data = [] 
    208         print tokenized 
    209208        for denomination in tokenized: 
    210209            mkc = mkcs[str(denomination)] 
     
    227226            currency['coins'].append(coin) 
    228227            i += 1 
    229             self.storage.save() 
     228        self.storage.save()