Skip to content

Commit 1eff3fc

Browse files
committed
Run the formatter
1 parent e0d928c commit 1eff3fc

File tree

5 files changed

+12
-20
lines changed

5 files changed

+12
-20
lines changed

types/src/v26/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,7 @@ pub use self::{
271271
},
272272
wallet::{
273273
CreateWallet, GetBalances, GetBalancesError, GetTransaction, GetTransactionError,
274-
LastProcessedBlock, LastProcessedBlockError, LoadWallet, UnloadWallet,
275-
WalletProcessPsbt,
274+
LastProcessedBlock, LastProcessedBlockError, LoadWallet, UnloadWallet, WalletProcessPsbt,
276275
},
277276
};
278277
#[doc(inline)]
@@ -304,8 +303,7 @@ pub use crate::{
304303
SendToAddress, SetNetworkActive, SetTxFee, SignMessage, SignMessageWithPrivKey,
305304
SignRawTransaction, SignRawTransactionError, SoftforkReject, TransactionCategory,
306305
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
307-
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError,
308-
WitnessUtxo,
306+
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WitnessUtxo,
309307
},
310308
v18::{
311309
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

types/src/v26/wallet/into.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ use bitcoin::{BlockHash, Psbt, SignedAmount, Transaction, Txid};
55

66
use super::{
77
CreateWallet, GetBalances, GetBalancesError, GetTransaction, GetTransactionError,
8-
LastProcessedBlock, LastProcessedBlockError, LoadWallet, UnloadWallet,
9-
WalletProcessPsbt, WalletProcessPsbtError,
8+
LastProcessedBlock, LastProcessedBlockError, LoadWallet, UnloadWallet, WalletProcessPsbt,
9+
WalletProcessPsbtError,
1010
};
1111
use crate::model;
1212

@@ -143,10 +143,6 @@ impl WalletProcessPsbt {
143143
let psbt = self.psbt.parse::<Psbt>().map_err(E::Psbt)?;
144144
let hex =
145145
self.hex.as_ref().map(|h| encode::deserialize_hex(h)).transpose().map_err(E::Hex)?;
146-
Ok(model::WalletProcessPsbt {
147-
psbt,
148-
complete: self.complete,
149-
hex,
150-
})
146+
Ok(model::WalletProcessPsbt { psbt, complete: self.complete, hex })
151147
}
152148
}

types/src/v26/wallet/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ mod into;
1010
use bitcoin::Transaction;
1111
use serde::{Deserialize, Serialize};
1212

13-
pub use self::error::{GetBalancesError, GetTransactionError, LastProcessedBlockError, WalletProcessPsbtError};
13+
pub use self::error::{
14+
GetBalancesError, GetTransactionError, LastProcessedBlockError, WalletProcessPsbtError,
15+
};
1416
pub use super::{
1517
Bip125Replaceable, GetBalancesMine, GetBalancesWatchOnly, GetTransactionDetail,
1618
GetTransactionDetailError,

types/src/v27/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ pub use crate::{
281281
SendToAddress, SetNetworkActive, SetTxFee, SignMessage, SignMessageWithPrivKey,
282282
SignRawTransaction, SignRawTransactionError, SoftforkReject, TransactionCategory,
283283
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
284-
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError,
285-
WitnessUtxo,
284+
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WitnessUtxo,
286285
},
287286
v18::{
288287
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,
@@ -331,7 +330,6 @@ pub use crate::{
331330
GetTransactionError, GetTxOutSetInfo, GetTxOutSetInfoError, LastProcessedBlock,
332331
LastProcessedBlockError, LoadTxOutSet, LoadTxOutSetError, LoadWallet, Logging, PeerInfo,
333332
SubmitPackage, SubmitPackageError, SubmitPackageTxResult, SubmitPackageTxResultError,
334-
SubmitPackageTxResultFees, SubmitPackageTxResultFeesError, UnloadWallet,
335-
WalletProcessPsbt,
333+
SubmitPackageTxResultFees, SubmitPackageTxResultFeesError, UnloadWallet, WalletProcessPsbt,
336334
},
337335
};

types/src/v28/mod.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,7 @@ pub use crate::{
301301
SendToAddress, SetNetworkActive, SetTxFee, SignMessage, SignMessageWithPrivKey,
302302
SignRawTransaction, SignRawTransactionError, SoftforkReject, TransactionCategory,
303303
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
304-
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError,
305-
WitnessUtxo,
304+
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WitnessUtxo,
306305
},
307306
v18::{
308307
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,
@@ -349,8 +348,7 @@ pub use crate::{
349348
DescriptorProcessPsbtError, DumpTxOutSet, DumpTxOutSetError, GetAddrManInfo, GetBalances,
350349
GetBalancesError, GetChainStates, GetChainStatesError, GetPeerInfo, GetTransactionError,
351350
GetTxOutSetInfo, GetTxOutSetInfoError, LastProcessedBlock, LastProcessedBlockError,
352-
LoadTxOutSet, LoadTxOutSetError, LoadWallet, PeerInfo, UnloadWallet,
353-
WalletProcessPsbt,
351+
LoadTxOutSet, LoadTxOutSetError, LoadWallet, PeerInfo, UnloadWallet, WalletProcessPsbt,
354352
},
355353
v27::{GetPrioritisedTransactions, PrioritisedTransaction},
356354
};

0 commit comments

Comments
 (0)