gavinandresen/bitcointools — Issue #18: Convert port from host to network byte order
Author: mad
Created: 2012-02-26 21:56:32+00:00
State: open

Simple changes:

From

https://github.com/gavinandresen/bitcointools/blob/master/deserialize.py#L20

To

`d['port'] = socket.htons(vds.read_uint16())`