mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
Factored out a common sub-expression.
This commit is contained in:
parent
177bd93802
commit
a2e94b9a95
@ -168,7 +168,7 @@ public class BitcoinSerializerTest {
|
||||
"3f74f931e8365e15a089c68d6190000000000982051fd1e4ba744bbbe680e1fee14677b" +
|
||||
"a1a3c3540bf7b1cdb606e857233e0e61bc6649ffff001d01e3629900";
|
||||
byte[] headersMessageBytes = HEX.decode(headersMessageBytesHex);
|
||||
HeadersMessage hm = (HeadersMessage) bs.deserialize(ByteBuffer.wrap(HEX.decode(headersMessageBytesHex)));
|
||||
HeadersMessage hm = (HeadersMessage) bs.deserialize(ByteBuffer.wrap(headersMessageBytes));
|
||||
|
||||
// The first block after the genesis
|
||||
// http://blockexplorer.com/b/1
|
||||
|
Loading…
Reference in New Issue
Block a user