Skip to content

Commit

Permalink
Update tests to use the new Unconfirmed SPV status
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Dec 23, 2020
1 parent 822a5bc commit d903e0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subprojects/gdk_rust/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn bitcoin() {
test_session.get_subaccount();
let txid = test_session.send_tx(&node_address, 10_000, None, Some(MEMO1.to_string()), None); // p2shwpkh
test_session.test_set_get_memo(&txid, MEMO1, MEMO2);
test_session.is_verified(&txid, SPVVerifyResult::InProgress);
test_session.is_verified(&txid, SPVVerifyResult::Unconfirmed);
test_session.send_tx(&node_bech32_address, 10_000, None, None, None); // p2wpkh
test_session.send_tx(&node_legacy_address, 10_000, None, None, None); // p2pkh
test_session.send_all(&node_legacy_address, None);
Expand Down Expand Up @@ -80,7 +80,7 @@ fn liquid() {
let txid = test_session.send_tx(&node_address, 10_000, None, Some(MEMO1.to_string()), None);
test_session.check_decryption(101, &[&txid]);
test_session.test_set_get_memo(&txid, MEMO1, MEMO2);
test_session.is_verified(&txid, SPVVerifyResult::InProgress);
test_session.is_verified(&txid, SPVVerifyResult::Unconfirmed);
test_session.send_tx(&node_bech32_address, 10_000, None, None, None);
test_session.send_tx(&node_legacy_address, 10_000, None, None, None);
test_session.send_tx(&node_address, 10_000, Some(assets[0].clone()), None, None);
Expand Down

0 comments on commit d903e0b

Please sign in to comment.