mirror of
https://github.com/aljazceru/cdk.git
synced 2026-02-23 05:56:02 +01:00
chore: remove unneeded verify
This commit is contained in:
@@ -31,7 +31,7 @@ pub enum Error {
|
||||
#[error("Insufficient Funds")]
|
||||
InsufficientFunds,
|
||||
#[error("`{0}`")]
|
||||
Cashu(#[from] cashu::error::wallet::Error),
|
||||
CashuWallet(#[from] cashu::error::wallet::Error),
|
||||
#[error("`{0}`")]
|
||||
Client(#[from] crate::client::Error),
|
||||
/// Cashu Url Error
|
||||
@@ -46,6 +46,8 @@ pub enum Error {
|
||||
#[error("`{0}`")]
|
||||
LocalStore(#[from] localstore::Error),
|
||||
#[error("`{0}`")]
|
||||
Cashu(#[from] cashu::error::Error),
|
||||
#[error("`{0}`")]
|
||||
Custom(String),
|
||||
}
|
||||
|
||||
@@ -795,8 +797,7 @@ impl<C: Client, L: LocalStore> Wallet<C, L> {
|
||||
|
||||
for pubkey in pubkeys {
|
||||
if let Some(signing) = pubkey_secret_key.get(&pubkey.to_string()) {
|
||||
proof.sign_p2pk(signing.clone()).unwrap();
|
||||
proof.verify_p2pk().unwrap();
|
||||
proof.sign_p2pk(signing.clone())?;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user