• Jeremy Hylton's avatar
    Fix bug in description of FileStorage layout. · 6ae3c752
    Jeremy Hylton authored
    Simplify santiy checking of length fields in transaction metadata.
    Replace the following test:
    [1]    if ul > tl or dl > tl or el > tl or tl < (23+ul+dl+el):
    with this one:
    [2]    if tl < (23+ul+dl+el):
    
    If any of the first three comparisons in [1] is true, then the final
    test must also be true.  It's unlikely that any of the tests will be
    true, so just do the final one.
    6ae3c752
FileStorage.py 70.9 KB