Branch: refs/heads/master
  Home:   https://github.com/conformal/btcec
  Commit: 506c3eacace85a6ef2dea305913e75191205ee99
      
https://github.com/conformal/btcec/commit/506c3eacace85a6ef2dea305913e75191205ee99
  Author: Josh Rickmar <[email protected]>
  Date:   2013-11-04 (Mon, 04 Nov 2013)

  Changed paths:
    M pubkey.go

  Log Message:
  -----------
  Add padding for pubkey numbers.

This change pads serialized (big endian) pubkey numbers to a length of
32 bytes.  Previously, because serialized pubkey numbers are read
MSB-first, if a number could be serialized in less than 31 bytes, the
deserialized number would be incorrect.



Reply via email to