3
0
mirror of https://github.com/Qortal/altcoinj.git synced 2025-01-31 15:22:16 +00:00

Unimplemented bitcoinSerializeToStream -> log error, not debug

This commit is contained in:
Matt Corallo 2013-07-16 17:10:26 +02:00 committed by Mike Hearn
parent 1a5348c534
commit 5ef59b9ae1

View File

@ -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().
*/
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());
}
/**