mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
MessageTest: remove params
from VarStrMessage
This commit is contained in:
parent
ed84988111
commit
a3d8d24d6f
@ -52,12 +52,12 @@ public class MessageTest {
|
||||
public void readByteArrayOfExtremeLength() {
|
||||
VarInt length = VarInt.of(Integer.MAX_VALUE);
|
||||
ByteBuffer payload = ByteBuffer.wrap(length.encode());
|
||||
new VarBytesMessage(TESTNET, payload);
|
||||
new VarBytesMessage(payload);
|
||||
}
|
||||
|
||||
static class VarBytesMessage extends Message {
|
||||
public VarBytesMessage(NetworkParameters params, ByteBuffer payload) {
|
||||
super(params, payload);
|
||||
public VarBytesMessage(ByteBuffer payload) {
|
||||
super(payload);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user