Skip to main content

assert_note_cannot_be_consumed_twice

Function assert_note_cannot_be_consumed_twice 

Source
pub async fn assert_note_cannot_be_consumed_twice(
    client: &mut TestClient,
    consuming_account_id: AccountId,
    note_to_consume: Note,
)
Available on crate features testing and std only.
Expand description

Tries to consume the note and asserts that the expected error is returned.