File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1125,6 +1125,7 @@ uint256 GetOutputsHash(const CTransaction& txTo) {
11251125}
11261126
11271127uint256 GetShieldedSpendsHash (const CTransaction& txTo) {
1128+ assert (txTo.sapData );
11281129 CBLAKE2bWriter ss (SER_GETHASH, 0 , PIVX_SHIELDED_SPENDS_HASH_PERSONALIZATION);
11291130 auto sapData = txTo.sapData ;
11301131 for (const auto & n : sapData->vShieldedSpend ) {
@@ -1138,6 +1139,7 @@ uint256 GetShieldedSpendsHash(const CTransaction& txTo) {
11381139}
11391140
11401141uint256 GetShieldedOutputsHash (const CTransaction& txTo) {
1142+ assert (txTo.sapData );
11411143 CBLAKE2bWriter ss (SER_GETHASH, 0 , PIVX_SHIELDED_OUTPUTS_HASH_PERSONALIZATION);
11421144 auto sapData = txTo.sapData ;
11431145 for (const auto & n : sapData->vShieldedOutput ) {
You can’t perform that action at this time.
0 commit comments