Skip to content

Commit 6a43f53

Browse files
committed
ci: cargo fmt
1 parent 1d605a1 commit 6a43f53

7 files changed

Lines changed: 14 additions & 14 deletions

File tree

crates/node/src/grpc/grpc_operator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use crate::grpc::grpc_handler::node_proto::{
44
GetPendingDepositIntentsResponse, ProposeWithdrawalRequest, ProposeWithdrawalResponse,
55
SpendFundsRequest, SpendFundsResponse, StartSigningRequest, StartSigningResponse,
66
};
7-
use crate::swarm_manager::{Network, NetworkHandle, SelfRequest, SelfResponse};
87
use crate::handlers::withdrawl::SpendIntent;
8+
use crate::swarm_manager::{Network, NetworkHandle, SelfRequest, SelfResponse};
99
use tonic::Status;
1010
use tracing::{debug, info};
1111

crates/node/src/handlers/deposit/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use types::errors::NodeError;
55
use crate::{
66
NodeState,
77
db::Db,
8-
handlers::deposit::{DepositIntent, DepositIntentState},
98
handlers::Handler,
9+
handlers::deposit::{DepositIntent, DepositIntentState},
1010
swarm_manager::{Network, NetworkEvent, SelfRequest, SelfResponse},
1111
};
1212
use protocol::oracle::Oracle;

crates/node/src/handlers/dkg/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::{
22
NodeState,
33
db::Db,
4-
handlers::dkg::DkgState,
54
handlers::Handler,
5+
handlers::dkg::DkgState,
66
swarm_manager::{DirectMessage, Network, NetworkEvent},
77
};
88
use protocol::oracle::Oracle;

crates/node/src/handlers/signing/create_signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::NodeState;
1111
use crate::db::Db;
1212
use crate::handlers::signing::ActiveSigning;
1313
use crate::swarm_manager::{DirectMessage, Network};
14-
use crate::{peer_id_to_identifier, handlers::signing::SigningState};
14+
use crate::{handlers::signing::SigningState, peer_id_to_identifier};
1515
use protocol::oracle::Oracle;
1616
use types::errors::NodeError;
1717

crates/node/src/handlers/withdrawl/create_withdrawl.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ use std::str::FromStr;
33
use crate::{
44
NodeState,
55
db::Db,
6-
swarm_manager::Network,
76
handlers::withdrawl::{SpendIntent, SpendIntentState},
7+
swarm_manager::Network,
88
};
99
use bitcoin::{
1010
key::Secp256k1,

tests/config.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"key_data": {
3-
"public_key_b58": "12D3KooWJLTELSdv3CaztyK5TVuha8NPbCWX98n6KA1L8prLXz4Q",
4-
"encrypted_private_key_b64": "GEvwsOqJIOGizvJC9y+OH+eqP7xJpMnSW3x/jUm+A6DB65UD+dUKxaIH2pizn5EPZH/TaNXfGO1zAtQrFxTLyiObhi8jJThVjtFnutkNkkQYLODW",
3+
"public_key_b58": "12D3KooWHAxK7BVueowYzz9zQgwxR9CG6ZogPapAo9b8fTzKMjoE",
4+
"encrypted_private_key_b64": "wvuqHBqWQR+tXOZmTX0XCF7drUPMtKyyc8ugLfYLigyMxkzZ2wCkowgcIjnptOF7Kh5VpDTeGhR28Tc4S3l7S3PTnWEC+wAbvmUJxTPW8dRkRwi9",
55
"encryption_params": {
66
"kdf": "argon2id",
7-
"salt_b64": "L4ox1CsOG0pl8/q9TvRyCQ",
8-
"iv_b64": "B4yZN4PR4IUvRiHG"
7+
"salt_b64": "Y5hp2oWxoUUGgGQ8a7Dk8Q",
8+
"iv_b64": "3Aw8HVkcZ72CPNvC"
99
}
1010
},
1111
"dkg_keys": {
12-
"encrypted_private_key_package_b64": "nucu5ngE2Iw2Wcpxb3n93xr/OYCfOPWxgCJOMYqD3VXUItSOI0B4cvytJgB6n7yzQOq+glTDcpgRR+vVuh7JhJt3HVR44aHhkcYHnNgZgK8rURBHxVg+2q+Pl8Bc6Cftl2RO2oYJK+8DyqOw7A8gOL6Zvmp+D6Sx4UTIWIsefCJdTyCQo0CQtZOmQyFC4iua/wI9xiq/kdk=",
12+
"encrypted_private_key_package_b64": "HUefgP8PGjSQDlIKnsgeWbvde/5xSXeUMk3JNIMEOTq4pVsnSecwODOUGTA7N8rceqQLRa1JhztPYxWNpdBI5B3xLiqFWxP6pNK9T2cnRoA+u6QYUq6b1UHtZ+WO3g6DFrwUbAvh5F67clDkbUKgm78NxhzIIJOmd5Yfdcet/Z662izf2ZZfTXSYPm78zBaAe8xAbkrHyNI=",
1313
"dkg_encryption_params": {
1414
"kdf": "argon2id",
15-
"salt_b64": "L4ox1CsOG0pl8/q9TvRyCQ",
16-
"iv_b64": "oZdlkrNEa3LRuM3k"
15+
"salt_b64": "Y5hp2oWxoUUGgGQ8a7Dk8Q",
16+
"iv_b64": "G/K4tazI/PnBeRfY"
1717
},
18-
"pubkey_package_b64": "AO7WsbEDHVxjmSKZdeNSzZoEFYS3Tw2nl1K+itr8UxpX0d8Mmt0C+O1CCf1PeRgYGQIsqg7WeDdV8oA41YlicrISbd5QvUJVb3C6S2SlHQI4X/1Go3dVh6fNk8w7Xj7k5srmpdkgbwMWPU58aqtyxHXXKWLKzgbPq5ZiFa5Fkv3JBGyDNOvqaczmQNB67LUrvNJZMWQuRqB+YNYXEtuyz1rO/Q/X0At9AuTDDxILJhbGRy3WJvAgUaAhvHj8lhhEmRTToM82R1cUAlYGDwWO8aKPdyYmJdbLyPPCHqD0wGuZYg3ZL2T7jFBe"
18+
"pubkey_package_b64": "AO7WsbEDCpLCCb7KNEOTEb7PbBPTyXD5X23/9pu8nTRTe332Ky4C70IJe2DXKh0+O/oNKWyHlW6Anx3xi82JwZuY5ixvslIf8OO/LGCVGP5SwXBOpHLkLB7AlZbPpfZpowUZABZ8gQIwRhoHEXwtp6zm2qAc6qMpKvpcTI1bCb2BMHKDUj1w6ZPyr7wsZaXx/TIBtFv9ZsKNfdxkbpAJc9387B8+pk2VA44HxUviNDm5nWKseO1Bj3c4UY618jHRnBrB5MCbkzVnA1CXJPbzvkhyZxYTgqSawRR8UTWBtakDctFdSzJXoWKA"
1919
}
2020
}

tests/src/deposit/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ mod deposit_tests {
77
use bitcoin::{Address, CompressedPublicKey, Transaction};
88
use node::{
99
db::Db,
10-
handlers::deposit::{DepositIntent, DepositIntentState},
1110
grpc::{
1211
grpc_handler::node_proto::{CreateDepositIntentRequest, CreateDepositIntentResponse},
1312
grpc_operator,
1413
},
14+
handlers::deposit::{DepositIntent, DepositIntentState},
1515
};
1616
use tokio::sync::broadcast;
1717
use tokio::sync::mpsc::unbounded_channel;

0 commit comments

Comments
 (0)