Commit 66143eb 1 parent 985b289 commit 66143eb Copy full SHA for 66143eb
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,10 @@ namespace {
23
23
// ! \brief Get the hash of a subset of the data in the mrc object used as
24
24
// ! input to sign or verify a research reward claim.
25
25
// !
26
- // ! \param mrc MRC to generate a hash for.
27
- // ! \param last_block_hash Hash of the block at the head of the chain.
28
- // ! \param mrc mrc transaction of the block that contains
29
- // ! the claim.
26
+ // ! \param last_block_hash: Hash of the block at the head of the chain.
27
+ // ! \param mrc: mrc transaction of the block that contains the claim.
30
28
// !
31
- // ! \return Hash of the CPID and last block hash contained in the claim.
29
+ // ! \return Hash of the CPID, mrc fee, and last block hash contained in the claim.
32
30
// !
33
31
uint256 GetMRCHash (
34
32
const MRC& mrc,
@@ -42,7 +40,7 @@ uint256 GetMRCHash(
42
40
43
41
CHashWriter hasher (SER_NETWORK, PROTOCOL_VERSION);
44
42
45
- hasher << *cpid << last_block_hash;
43
+ hasher << *cpid << mrc. m_fee << last_block_hash;
46
44
47
45
return hasher.GetHash ();
48
46
}
You can’t perform that action at this time.
0 commit comments