Skip to content

Commit 6aab753

Browse files
committed
fix: remove description bignum
1 parent 4ec4bb7 commit 6aab753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/big_num.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl TryFrom<&str> for BigNum {
195195

196196
fn try_from(num: &str) -> Result<Self, Self::Error> {
197197
let big_uint = BigUint::from_str(&num)
198-
.map_err(|err| super::DomainError::InvalidArgument(err.description().to_string()))?;
198+
.map_err(|err| super::DomainError::InvalidArgument(err.to_string()))?;
199199

200200
Ok(Self(big_uint))
201201
}

0 commit comments

Comments
 (0)