Skip to content

Commit bf596dc

Browse files
committed
fix WASM tests
Signed-off-by: Onur Özkan <[email protected]>
1 parent e6088cb commit bf596dc

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

mm2src/coins/eth/eth_wasm_tests.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ fn pass() {
1515
}
1616

1717
async fn init_eth_coin_helper() -> Result<(MmArc, MmCoinEnum), String> {
18+
let passphrase = "spice describe gravity federal blast come thank unfair canal monkey style afraid";
1819
let conf = json!({
1920
"coins": [{
2021
"coin": "ETH",
@@ -28,16 +29,13 @@ async fn init_eth_coin_helper() -> Result<(MmArc, MmCoinEnum), String> {
2829
},
2930
"rpcport": 80,
3031
"mm2": 1,
31-
"max_eth_tx_type": 2
32+
"max_eth_tx_type": 2,
33+
"passphrase": passphrase,
3234
}]
3335
});
3436

3537
let ctx = MmCtxBuilder::new().with_conf(conf).into_mm_arc();
36-
CryptoCtx::init_with_iguana_passphrase(
37-
ctx.clone(),
38-
"spice describe gravity federal blast come thank unfair canal monkey style afraid",
39-
)
40-
.unwrap();
38+
CryptoCtx::init_with_iguana_passphrase(ctx.clone(), passphrase).unwrap();
4139

4240
let req = json!({
4341
"urls":ETH_SEPOLIA_NODES,

0 commit comments

Comments
 (0)