Show
Ignore:
Timestamp:
06/01/09 20:52:46 (3 years ago)
Author:
ocjhb
Message:

strenthening the random numbers; ordering coins for inspection; changing wording

Files:
1 modified

Legend:

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

    r320 r322  
    245245        secrets = [] 
    246246        data = [] 
     247        self.feedback('Talking to issuer: preparing blanks') 
    247248        for denomination in values: 
    248249            mkc = mkcs[str(denomination)] 
     
    271272    def getAllCoins(self,currencyId): 
    272273        currency = self.getCurrency(currencyId) 
    273         return currency['coins'] 
     274        tmp = [(int(c.denomination),c) for c in currency['coins']] 
     275        tmp.sort() 
     276        return [t[1] for t in tmp] 
    274277 
    275278