Fix bug in GetBlockValue() that can cause bogus random seeds
Merge pull request #1 from maxpwr/master

Fix bug in GetBlockValue() that can cause bogus random seeds