Skip to content

Commit

Permalink
Use transaction::Version data type
Browse files Browse the repository at this point in the history
  • Loading branch information
lateminer committed Oct 26, 2023
1 parent aa34046 commit 838c71c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration_test/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ fn test_sign_raw_transaction_with_send_raw_transaction(cl: &Client) {
let unspent = unspent.into_iter().nth(0).unwrap();

let tx = Transaction {
version: 1,
version: bitcoin::transaction::Version::ONE,
lock_time: LockTime::ZERO,
input: vec![TxIn {
previous_output: OutPoint {
Expand Down Expand Up @@ -615,7 +615,7 @@ fn test_sign_raw_transaction_with_send_raw_transaction(cl: &Client) {
let txid = cl.send_raw_transaction(&res.transaction().unwrap()).unwrap();

let tx = Transaction {
version: 1,
version: bitcoin::transaction::Version::ONE,
lock_time: LockTime::ZERO,
input: vec![TxIn {
previous_output: OutPoint {
Expand Down

0 comments on commit 838c71c

Please sign in to comment.