mirror of
https://git.hush.is/hush/hush3.git
synced 2025-12-04 00:04:59 -05:00
Use portable hash for staking
This commit is contained in:
parent
5296a85018
commit
fa733d13fa
@ -476,7 +476,7 @@ public:
|
||||
// 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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user