Convert a hex string to bytes
(h)
| 34 | return 0 <= nValue <= params.MAX_MONEY |
| 35 | |
| 36 | def x(h): |
| 37 | """Convert a hex string to bytes""" |
| 38 | return binascii.unhexlify(h.encode('utf8')) |
| 39 | |
| 40 | def b2x(b): |
| 41 | """Convert bytes to a hex string""" |
no outgoing calls