(tx: &Transaction, vout: usize)
| 664 | } |
| 665 | |
| 666 | fn generate_input(tx: &Transaction, vout: usize) -> Input { |
| 667 | Input { |
| 668 | outpoint: OutPoint { |
| 669 | txid: tx.compute_txid(), |
| 670 | vout: vout.to_u32().unwrap(), |
| 671 | }, |
| 672 | amount: tx.output[vout].value, |
| 673 | } |
| 674 | } |
no outgoing calls
no test coverage detected