Skip to content

Commit

Permalink
fix: avalanche testnet error
Browse files Browse the repository at this point in the history
  • Loading branch information
aya015757881 committed Oct 25, 2023
1 parent 7675a3b commit f29a2e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion anychain-ethereum/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "anychain-ethereum"
description = "A Rust library for Ethereum-focused cryptocurrency wallets, enabling seamless transactions on the Ethereum blockchain"
version = "0.1.5"
version = "0.1.6"
keywords = ["blockchain", "crypto", "cryptocurrency", "ethereum", "wallet"]

# Workspace inherited keys
Expand Down
6 changes: 3 additions & 3 deletions anychain-ethereum/src/network/avalanche_testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ use std::{fmt, str::FromStr};
pub struct AvalancheTestnet;

impl Network for AvalancheTestnet {
const NAME: &'static str = "ethereum";
const NAME: &'static str = "avalanche testnet";
}

impl EthereumNetwork for AvalancheTestnet {
const CHAIN_ID: u32 = 1;
const NETWORK_ID: u32 = 1;
const CHAIN_ID: u32 = 43113;
const NETWORK_ID: u32 = 43113;
}

impl FromStr for AvalancheTestnet {
Expand Down

0 comments on commit f29a2e3

Please sign in to comment.