Skip to content

Commit 07fa830

Browse files
fmt
1 parent 0179dd4 commit 07fa830

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

packages/rs-platform-wallet/src/established_contact.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
//! This module provides the `EstablishedContact` struct representing a bidirectional
44
//! relationship (friendship) between two identities where both have sent contact requests.
55
6-
#[allow(unused_imports)] use crate::ContactRequest;
6+
#[allow(unused_imports)]
7+
use crate::ContactRequest;
78
use dpp::prelude::Identifier;
89

910
/// An established contact represents a bidirectional relationship between two identities

packages/rs-platform-wallet/src/platform_wallet_info/matured_transactions.rs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ use dpp::prelude::Identifier;
1010
use key_wallet::wallet::immature_transaction::ImmatureTransaction;
1111
use key_wallet::Network;
1212

13-
#[allow(unused_imports)] use crate::ContactRequest;
13+
#[allow(unused_imports)]
14+
use crate::ContactRequest;
1415

1516
use dpp::identity::accessors::IdentityGettersV0;
1617

@@ -57,7 +58,11 @@ impl PlatformWalletInfo {
5758
};
5859

5960
let result = self
60-
.fetch_contact_requests_for_identities_after_asset_locks(wallet, network, &[immature_tx])
61+
.fetch_contact_requests_for_identities_after_asset_locks(
62+
wallet,
63+
network,
64+
&[immature_tx],
65+
)
6166
.await?;
6267

6368
Ok(result.first().copied())
@@ -320,4 +325,4 @@ fn parse_contact_request_document(
320325
created_at_core_block_height,
321326
created_at,
322327
))
323-
}
328+
}

packages/rs-platform-wallet/src/platform_wallet_info/wallet_info_interface.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ impl WalletInfoInterface for PlatformWalletInfo {
150150

151151
fn update_chain_height(&mut self, network: Network, current_height: u32) {
152152
// Delegate to the underlying wallet_info
153-
self.wallet_info.update_chain_height(network, current_height)
153+
self.wallet_info
154+
.update_chain_height(network, current_height)
154155
}
155156
}

0 commit comments

Comments
 (0)