diff options
author | Jeff Garzik <jeff@garzik.org> | 2010-12-23 20:21:00 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-12-23 20:21:00 -0500 |
commit | d88648dd3952f4ea2f9aad135710e9f106fe85c4 (patch) | |
tree | 714f8ab8aaab9c0ec7710c72d7c90cede380c060 /miner.h | |
parent | 309d1bdc16de5267aee5b13791907c93b69c8be6 (diff) |
sha256_via: ensure that found nonce is copied back into output data buffer
Also, some minor cleanups, removing unused args.
Diffstat (limited to 'miner.h')
-rw-r--r-- | miner.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -34,9 +34,7 @@ extern unsigned int ScanHash_4WaySSE2(const unsigned char *pmidstate, unsigned char *pdata, unsigned char *phash1, unsigned char *phash, unsigned long *nHashesDone); -extern bool scanhash_via(const unsigned char *midstate, const unsigned char *data_in, - unsigned char *hash1, unsigned char *hash, - unsigned long *hashes_done); +extern bool scanhash_via(unsigned char *data_inout, unsigned long *hashes_done); extern bool scanhash_c(const unsigned char *midstate, unsigned char *data, unsigned char *hash1, unsigned char *hash, |