Added removeHandler method.
This commit is contained in:
parent
6340cc47a4
commit
a64d216537
|
@ -144,4 +144,9 @@ public class ServiceConnector {
|
|||
}
|
||||
}
|
||||
|
||||
public void removeHandler(ConnectorHandler handler) {
|
||||
|
||||
handlers.remove(handler);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -54,7 +54,9 @@ public class Block {
|
|||
/* Constructors */
|
||||
|
||||
public Block(byte[] rawData) {
|
||||
logger.debug("new from [" + Hex.toHexString(rawData) + "]");
|
||||
if (rawData != null) {
|
||||
logger.debug("new from [" + Hex.toHexString(rawData) + "]");
|
||||
}
|
||||
this.rlpEncoded = rawData;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue