Branch: refs/heads/master Home: https://github.com/conformal/btcd Commit: 6f063e0c1b46011730ff4f17c1d8fe22fd9ee2e4 https://github.com/conformal/btcd/commit/6f063e0c1b46011730ff4f17c1d8fe22fd9ee2e4 Author: Dave Collins <[email protected]> Date: 2014-02-05 (Wed, 05 Feb 2014)
Changed paths:
M peer.go
Log Message:
-----------
Update byte counts unconditionally.
Rather than updating the byte counts in the error path and after the error
path, do it unconditionally before checking the error.
