mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-26 07:23:53 +01:00
Unimplemented bitcoinSerializeToStream -> log error, not debug
This commit is contained in:
parent
1a5348c534
commit
5ef59b9ae1
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ public abstract class Message implements Serializable {
|
||||||
* Serializes this message to the provided stream. If you just want the raw bytes use bitcoinSerialize().
|
* Serializes this message to the provided stream. If you just want the raw bytes use bitcoinSerialize().
|
||||||
*/
|
*/
|
||||||
void bitcoinSerializeToStream(OutputStream stream) throws IOException {
|
void bitcoinSerializeToStream(OutputStream stream) throws IOException {
|
||||||
log.debug("Warning: {} class has not implemented bitcoinSerializeToStream method. Generating message with no payload", getClass());
|
log.error("Error: {} class has not implemented bitcoinSerializeToStream method. Generating message with no payload", getClass());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue