Fixed duplicate share vulnerability with the nonce

zone117x fix
Merge pull request #26 from pmitchev/master

Fixed duplicate share vulnerability with the nonce