| 96 | } |
| 97 | |
| 98 | static inline void pushasset(std::vector<valtype>& stack, const CConfidentialAsset& asset) |
| 99 | { |
| 100 | assert(!asset.IsNull()); |
| 101 | stack.emplace_back(asset.vchCommitment.begin() + 1, asset.vchCommitment.end()); // Push asset without prefix |
| 102 | stack.emplace_back(asset.vchCommitment.begin(), asset.vchCommitment.begin() + 1); // Push prefix |
| 103 | } |
| 104 | |
| 105 | static inline void pushvalue(std::vector<valtype>& stack, const CConfidentialValue& value) |
| 106 | { |
no test coverage detected