| 42 | } |
| 43 | |
| 44 | static CMutableTransaction TxFromHex(const std::string& str) |
| 45 | { |
| 46 | CMutableTransaction tx; |
| 47 | SpanReader{ParseHex(str)} >> TX_NO_WITNESS(tx); |
| 48 | return tx; |
| 49 | } |
| 50 | |
| 51 | static std::vector<CTxOut> TxOutsFromJSON(const UniValue& univalue) |
| 52 | { |