Minor simplifications.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
239f7ff404
commit
56e42336c4
|
@ -440,9 +440,7 @@ pub(crate) fn send_multi_step_proposed_transfer<T: ShieldedPoolTester>() {
|
||||||
// Verify that a status request has been generated for the second transaction of
|
// Verify that a status request has been generated for the second transaction of
|
||||||
// the ZIP 320 pair.
|
// the ZIP 320 pair.
|
||||||
let tx_data_requests = st.wallet().transaction_data_requests().unwrap();
|
let tx_data_requests = st.wallet().transaction_data_requests().unwrap();
|
||||||
assert!(tx_data_requests
|
assert!(tx_data_requests.contains(&TransactionDataRequest::GetStatus(*txids.last())));
|
||||||
.iter()
|
|
||||||
.any(|r| r == &TransactionDataRequest::GetStatus(*txids.last())));
|
|
||||||
|
|
||||||
assert!(expected_step0_change < expected_ephemeral);
|
assert!(expected_step0_change < expected_ephemeral);
|
||||||
assert_eq!(confirmed_sent.len(), 2);
|
assert_eq!(confirmed_sent.len(), 2);
|
||||||
|
@ -611,9 +609,7 @@ pub(crate) fn send_multi_step_proposed_transfer<T: ShieldedPoolTester>() {
|
||||||
// Verify that storing the fully transparent transaction causes a transaction
|
// Verify that storing the fully transparent transaction causes a transaction
|
||||||
// status request to be generated.
|
// status request to be generated.
|
||||||
let tx_data_requests = st.wallet().transaction_data_requests().unwrap();
|
let tx_data_requests = st.wallet().transaction_data_requests().unwrap();
|
||||||
assert!(tx_data_requests
|
assert!(tx_data_requests.contains(&TransactionDataRequest::GetStatus(txid)));
|
||||||
.iter()
|
|
||||||
.any(|r| r == &TransactionDataRequest::GetStatus(txid)));
|
|
||||||
|
|
||||||
// We call get_wallet_transparent_output with `allow_unspendable = true` to verify
|
// We call get_wallet_transparent_output with `allow_unspendable = true` to verify
|
||||||
// storage because the decrypted transaction has not yet been mined.
|
// storage because the decrypted transaction has not yet been mined.
|
||||||
|
|
Loading…
Reference in New Issue