| 44 | } |
| 45 | |
| 46 | CAmountMap GetFeeMap(const CTransaction& tx) { |
| 47 | CAmountMap fee; |
| 48 | for (const CTxOut& txout : tx.vout) { |
| 49 | if (txout.IsFee()) { |
| 50 | fee[txout.nAsset.GetAsset()] += txout.nValue.GetAmount(); |
| 51 | } |
| 52 | } |
| 53 | return fee; |
| 54 | } |
| 55 | |
| 56 | bool CRangeCheck::operator()() { |
| 57 | assert(val->IsCommitment()); |
no test coverage detected