Skip to content

Commit

Permalink
handshake-manager: Add Katana token mappings (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
sehyunc committed Oct 6, 2023
1 parent 0932630 commit 22f71bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/types/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ impl Token {
/// Given an ERC-20 contract address represented as a `BigUint`, returns a Token
pub fn from_addr_biguint(addr: &BigUint) -> Self {
Self {
addr: format!("0x{}", addr.to_str_radix(16 /* radix */)),
addr: biguint_to_str_addr(addr),
}
}

Expand Down

0 comments on commit 22f71bd

Please sign in to comment.