Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aurexav committed Jan 8, 2024
1 parent 47a95bb commit 399eecd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/electrumx/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ async fn get_by_ticker_should_work() {

#[tokio::test]
async fn get_ft_info_should_work() {
tracing_subscriber::fmt::init();

let e = ElectrumXBuilder::default().build().unwrap();

e.get_ft_info(e.get_by_ticker("quark").await.unwrap().atomical_id).await.unwrap();
Expand Down
3 changes: 2 additions & 1 deletion src/electrumx/type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ pub struct Args {
pub mint_amount: u64,
pub mint_bitworkc: String,
pub mint_height: u64,
pub nonce: u64,
// TODO: It's a `String` in mainnet but a `u64` in testnet.
// pub nonce: u64,
pub request_ticker: String,
pub time: u64,
}
Expand Down

0 comments on commit 399eecd

Please sign in to comment.