diff --git a/common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs b/common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs index 2388204c67..fec9d27359 100644 --- a/common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs +++ b/common/nym_offline_compact_ecash/src/proofs/proof_withdrawal.rs @@ -103,6 +103,7 @@ impl WithdrawalReqInstance { bytes } + #[allow(dead_code)] pub fn from_bytes(bytes: &[u8]) -> Result { WithdrawalReqInstance::try_from(bytes) } diff --git a/common/nym_offline_compact_ecash/src/scheme/mod.rs b/common/nym_offline_compact_ecash/src/scheme/mod.rs index 9792a29dce..c89f3f5a1d 100644 --- a/common/nym_offline_compact_ecash/src/scheme/mod.rs +++ b/common/nym_offline_compact_ecash/src/scheme/mod.rs @@ -106,6 +106,8 @@ impl Wallet { bytes[128..136].copy_from_slice(&self.l.get().to_le_bytes()); bytes } + + #[allow(dead_code)] fn up(&self) { self.l.set(self.l.get() + 1); } diff --git a/common/nym_offline_compact_ecash/src/scheme/setup.rs b/common/nym_offline_compact_ecash/src/scheme/setup.rs index fb29dfd4d6..a2a8f2e572 100644 --- a/common/nym_offline_compact_ecash/src/scheme/setup.rs +++ b/common/nym_offline_compact_ecash/src/scheme/setup.rs @@ -59,6 +59,7 @@ impl GroupParameters { &self.gammas[0] } + #[allow(dead_code)] pub(crate) fn gamma2(&self) -> Option<&G1Projective> { self.gammas.get(2) } diff --git a/gateway/src/node/client_handling/websocket/connection_handler/authenticated.rs b/gateway/src/node/client_handling/websocket/connection_handler/authenticated.rs index 2a784be773..1341e3acca 100644 --- a/gateway/src/node/client_handling/websocket/connection_handler/authenticated.rs +++ b/gateway/src/node/client_handling/websocket/connection_handler/authenticated.rs @@ -259,7 +259,7 @@ where self.inner.storage.insert_credential(credential).await?; - let bandwidth_value = 500000; //SW MAKE A GLOBAL PARAMETER + let bandwidth_value = 100000000; //SW MAKE A GLOBAL PARAMETER self.increase_bandwidth(bandwidth_value).await?; let available_total = self.get_available_bandwidth().await?;