public Message onPreMessageReceived(Peer peer, Message m) {
if (m instanceof RejectMessage) {
RejectMessage rejection = (RejectMessage)m;
if (rejection.getRejectedMessage().equals("tx")) {
log.error("Transaction {} was rejected by bitcoind for reason '{}'", rejection.getRejectedObjectHash().toString(), rejection.getReasonString());
// add other logic to clean up / recreate transaction as needed here
}
}*/
return m;
}
--
You received this message because you are subscribed to the Google Groups "bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.