| 52 | } |
| 53 | |
| 54 | Output Input::getSpentOutput() const { |
| 55 | auto pointer = getSpentOutputPointer(); |
| 56 | auto height = access->getChain().getBlockHeight(pointer.txNum); |
| 57 | auto tx = access->getChain().getTx(pointer.txNum); |
| 58 | return {pointer, height, tx->getOutput(pointer.inoutNum), maxTxCount, *access}; |
| 59 | } |
| 60 | |
| 61 | std::string Input::toString() const { |
| 62 | std::stringstream ss; |
nothing calls this directly
no test coverage detected