diff --git a/rpcserver.go b/rpcserver.go index 378155a0..91ddf64e 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -3808,6 +3808,7 @@ func handleSubmitBlock(s *rpcServer, cmd interface{}, closeChan <-chan struct{}) // nodes. This will in turn relay it to the network like normal. _, err = s.cfg.SyncMgr.SubmitBlock(block, blockchain.BFNone) if err != nil { + rpcsLog.Infof("Rejected block %s via submitblock: %s", block.Hash(), err) return fmt.Sprintf("rejected: %s", err.Error()), nil }