Skip to content

Commit

Permalink
Updated the message for rejected blocks by daemon - fixes #553.
Browse files Browse the repository at this point in the history
  • Loading branch information
bonesoul committed Oct 13, 2014
1 parent 7f5cefb commit 3ac2234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CoiniumServ/Shares/ShareManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private bool SubmitBlock(IShare share)
// unlike BlockProcessor's detailed exception handling and decision making based on the error,
// here in share-manager we only one-shot submissions. If we get an error, basically we just don't care about the rest
// and flag the submission as failed.
_logger.Error("Submit block [{0}] failed with hash [{1:l}] - reason; {2:l}", share.Height, share.BlockHash.ToHexString(), e.Message);
_logger.Error("We thought a block was found but it was rejected by the coin daemon; [{0:l}] - reason; {1:l}", share.BlockHash.ToHexString(), e.Message);
return false;
}
}
Expand Down

0 comments on commit 3ac2234

Please sign in to comment.