Explorar el Código

token_list: Fix tests.

parazyd hace 4 años
padre
commit
88363555ea
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/util/token_list.rs

+ 1 - 1
src/util/token_list.rs

@@ -148,7 +148,7 @@ mod tests {
     }
 
     fn _get_btc_tokens() -> Result<TokenList> {
-        let file_contents = include_bytes!("../../token/bitcoin_token_list.json");
+        let file_contents = include_bytes!("../../contrib/token/bitcoin_token_list.json");
         let btc_tokenlist: Value = serde_json::from_slice(file_contents)?;
 
         let tokens = btc_tokenlist["tokens"].as_array().ok_or(Error::TokenParseError)?.clone();