{txid}:0
value
5000000000
script pubkey
OP_0
  • {txid}:1
    value
    5000000000
    script pubkey
    OP_PUSHNUM_1
  • " ) .unindent() ); } #[test] fn with_blockhash() { let transaction = Transaction { version: 0, lock_time: LockTime::ZERO, input: Vec::new(), output: vec![ TxOut { value: 50 * COIN_VALUE, script_pubkey: script::Builder::new().push_int(0).into_script(), }, TxOut { value: 50 * COIN_VALUE, script_pubkey: script::Builder::new().push_int(1).into_script(), }, ], }; assert_regex_match!(