Fix a bug in blockencoding unit tests that was causing tests to fail randomly.
Fix a bug in blockencoding unit tests that was causing tests to fail randomly.

nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official