Skip to content

Commit

Permalink
Merge pull request #67 from VerusCoin/dev
Browse files Browse the repository at this point in the history
Use portable hash for staking
  • Loading branch information
Asherda authored Jun 19, 2018
2 parents 5a2b557 + fa733d1 commit e64b768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/transaction.h
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class CTransaction
// verus hash will be the same for a given txid, output number, block height, and blockhash of 100 blocks past
static uint256 _GetVerusPOSHash(const uint256 &txid, int32_t voutNum, int32_t height, const uint256 &pastHash, int64_t value)
{
CVerusHashWriter hashWriter = CVerusHashWriter(SER_GETHASH, PROTOCOL_VERSION);
CVerusHashPortableWriter hashWriter = CVerusHashPortableWriter(SER_GETHASH, PROTOCOL_VERSION);

hashWriter << ASSETCHAINS_MAGIC;
hashWriter << pastHash;
Expand Down

0 comments on commit e64b768

Please sign in to comment.