diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-09-16 18:13:05 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-09-18 10:15:48 +0200 |
| commit | 62e5f8f96114a872354103ef566b5c74a16154d4 (patch) | |
| tree | 08c946da5a14b1e98bf83234f625973ae7dd8c30 /src/test/script_P2SH_tests.cpp | |
| parent | Merge pull request #4936 (diff) | |
| download | discoin-62e5f8f96114a872354103ef566b5c74a16154d4.tar.xz discoin-62e5f8f96114a872354103ef566b5c74a16154d4.zip | |
CMessageHeader sanity changes
- Remove spurious `pchCommand[1] = 1` in CMessageHeader()
- Make sure that pchCommand is zero-padded if length is shorter than
COMMAND_SIZE
- Use strnlen to determine length of pcmCommand in GetCommand
Diffstat (limited to 'src/test/script_P2SH_tests.cpp')
0 files changed, 0 insertions, 0 deletions