Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix copypasta
  • Loading branch information
obrok committed Nov 22, 2022
commit 82b109df9fa6a12d1a323c11438ea851979e03c5
8 changes: 4 additions & 4 deletions e2e-tests/src/test/button_game/contracts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,13 +345,13 @@ impl WAzeroInstance {
}

impl<'a> From<&'a WAzeroInstance> for &'a ContractInstance {
fn from(dex: &'a WAzeroInstance) -> Self {
&dex.contract
fn from(wazero: &'a WAzeroInstance) -> Self {
&wazero.contract
}
}

impl<'a> From<&'a WAzeroInstance> for AccountId {
fn from(dex: &'a WAzeroInstance) -> Self {
dex.contract.address().clone()
fn from(wazero: &'a WAzeroInstance) -> Self {
wazero.contract.address().clone()
}
}
2 changes: 1 addition & 1 deletion e2e-tests/src/test/button_game/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ mod helpers;
///
/// 1. Wraps some azero and checks that the PSP22 balance increased accordingly.
/// 2. Unwraps half of the amount, checks that some wrapped funds remained while the rest has been returned to azero,
/// less fees.
/// minus fees.
pub fn wrapped_azero(config: &Config) -> Result<()> {
let WAzeroTestContext {
conn,
Expand Down