Skip to content

Commit

Permalink
fix: usizes
Browse files Browse the repository at this point in the history
  • Loading branch information
IroncladDev committed Jun 21, 2024
1 parent affaef1 commit 8fb1759
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wrappers/fedimint_clientd_rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fedimint_clientd_rs"
version = "0.0.5"
version = "0.0.6"
edition = "2021"
description = "Rust client for hitting the REST endpoints on a fedimint clientd"
repository = "https://github.com/fedimint/fedimint-clientd"
Expand Down
2 changes: 1 addition & 1 deletion wrappers/fedimint_clientd_rs/src/client/lightning/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ impl FedimintClient {
pub async fn claim_pubkey_tweak_receives(
&self,
private_key: String,
tweaks: Vec<usize>,
tweaks: Vec<u64>,
) -> Result<LightningPaymentResponse, String> {
let federation_id = self.active_federation_id.clone();

Expand Down
2 changes: 1 addition & 1 deletion wrappers/fedimint_clientd_rs/src/client/lightning/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub struct CreateTweakedInvoiceRequest {
pub struct ClaimPubkeyTweakRequest {
pub federationId: String,
pub privateKey: String,
pub tweaks: Vec<usize>,
pub tweaks: Vec<u64>,
}

#[derive(Debug, Clone, Eq, PartialEq, Serialize, Deserialize)]
Expand Down
4 changes: 2 additions & 2 deletions wrappers/fedimint_clientd_rs/src/client/types/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use std::collections::HashMap;
pub struct FederationInfo {
pub network: String,
pub meta: HashMap<String, String>,
pub total_amount_msat: usize,
pub total_amount_msat: u64,
pub total_num_notes: usize,
pub denominations_msat: HashMap<String, u64>,
}
Expand Down Expand Up @@ -51,7 +51,7 @@ pub struct GatewayInfo {
pub gateway_id: String,
pub gateway_redeem_key: String,
pub lightning_alias: String,
pub mint_channel_id: usize,
pub mint_channel_id: u64,
pub node_pub_key: String,
pub route_hints: Vec<Value>,
pub supports_private_payments: bool,
Expand Down

0 comments on commit 8fb1759

Please sign in to comment.