diff --git a/src/core/binarycodec/types/currency.rs b/src/core/binarycodec/types/currency.rs
index 23fd6927..af3c856a 100644
--- a/src/core/binarycodec/types/currency.rs
+++ b/src/core/binarycodec/types/currency.rs
@@ -16,6 +16,7 @@ use alloc::vec::Vec;
use core::convert::TryFrom;
use core::convert::TryInto;
use core::fmt::Display;
+use exceptions::XRPLUtilsException;
use serde::Serializer;
use serde::{Deserialize, Serialize};
@@ -28,11 +29,13 @@ pub const NATIVE_CODE: &str = "XRP";
#[serde(try_from = "&str")]
pub struct Currency(Hash160);
-fn _iso_code_from_hex(value: &[u8]) -> Result