Skip to content

Commit e513cbe

Browse files
committed
Format code changes
1 parent 2d469bf commit e513cbe

File tree

14 files changed

+31
-31
lines changed

14 files changed

+31
-31
lines changed

types/src/v17/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ pub use self::{
272272
},
273273
wallet::{
274274
AbortRescan, AddMultisigAddress, AddMultisigAddressError, AddressInformation, BumpFee,
275-
BumpFeeError, CreateWallet, DumpPrivKey, DumpWallet, GetAddressInfo,
275+
BumpFeeError, CreateWallet, DumpPrivKey, DumpWallet, EncryptWallet, GetAddressInfo,
276276
GetAddressInfoEmbedded, GetAddressInfoEmbeddedError, GetAddressInfoError,
277277
GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetNewAddress, GetRawChangeAddress,
278278
GetReceivedByAddress, GetTransaction, GetTransactionDetail, GetTransactionDetailError,
@@ -284,7 +284,7 @@ pub use self::{
284284
ListTransactionsItem, ListTransactionsItemError, ListUnspent, ListUnspentItem,
285285
ListUnspentItemError, ListWallets, LoadWallet, RescanBlockchain, SendMany, SendToAddress,
286286
SignMessage, TransactionCategory, WalletCreateFundedPsbt, WalletCreateFundedPsbtError,
287-
WalletProcessPsbt, EncryptWallet,
287+
WalletProcessPsbt,
288288
},
289289
zmq::GetZmqNotifications,
290290
};

types/src/v17/wallet/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ pub struct DumpWallet {
194194
/// > Arguments:
195195
/// > 1. passphrase (string, required) The pass phrase to encrypt the wallet with. It must be at least 1 character, but should be long.
196196
#[derive(Clone, Debug, PartialEq, Eq, Deserialize, Serialize)]
197-
pub struct EncryptWallet (pub String);
197+
pub struct EncryptWallet(pub String);
198198

199199
/// Result of the JSON-RPC method `getaddressesbylabel`.
200200
///

types/src/v18/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,11 @@ pub use crate::v17::{
252252
BumpFeeError, ChainTips, ChainTipsError, ChainTipsStatus, CombinePsbt, CombineRawTransaction,
253253
ConvertToPsbt, CreateMultisig, CreateMultisigError, CreatePsbt, CreateRawTransaction,
254254
CreateWallet, DecodePsbt, DecodePsbtError, DecodeRawTransaction, DecodeScript,
255-
DecodeScriptError, DumpPrivKey, DumpWallet, EstimateSmartFee, FinalizePsbt, FinalizePsbtError,
256-
FundRawTransaction, FundRawTransactionError, Generate, GenerateToAddress, GetAddedNodeInfo,
257-
GetAddressInfo, GetAddressInfoEmbedded, GetAddressInfoEmbeddedError, GetAddressInfoError,
258-
GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetBestBlockHash, GetBlockCount,
259-
GetBlockHash, GetBlockHeader, GetBlockHeaderError, GetBlockHeaderVerbose,
255+
DecodeScriptError, DumpPrivKey, DumpWallet, EncryptWallet, EstimateSmartFee, FinalizePsbt,
256+
FinalizePsbtError, FundRawTransaction, FundRawTransactionError, Generate, GenerateToAddress,
257+
GetAddedNodeInfo, GetAddressInfo, GetAddressInfoEmbedded, GetAddressInfoEmbeddedError,
258+
GetAddressInfoError, GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetBestBlockHash,
259+
GetBlockCount, GetBlockHash, GetBlockHeader, GetBlockHeaderError, GetBlockHeaderVerbose,
260260
GetBlockHeaderVerboseError, GetBlockStats, GetBlockStatsError, GetBlockTemplate,
261261
GetBlockTemplateError, GetBlockVerboseOne, GetBlockVerboseOneError, GetBlockVerboseZero,
262262
GetBlockchainInfo, GetBlockchainInfoError, GetChainTips, GetChainTxStats, GetChainTxStatsError,
@@ -281,5 +281,5 @@ pub use crate::v17::{
281281
SignMessageWithPrivKey, SignRawTransaction, SignRawTransactionError, Softfork, SoftforkReject,
282282
TestMempoolAccept, TransactionCategory, UploadTarget, ValidateAddress, ValidateAddressError,
283283
VerifyChain, VerifyMessage, VerifyTxOutProof, WalletCreateFundedPsbt,
284-
WalletCreateFundedPsbtError, WalletProcessPsbt, WitnessUtxo, EncryptWallet,
284+
WalletCreateFundedPsbtError, WalletProcessPsbt, WitnessUtxo,
285285
};

types/src/v19/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ pub use crate::v17::{
247247
AddressInformation, Banned, BumpFee, BumpFeeError, ChainTips, ChainTipsError, ChainTipsStatus,
248248
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
249249
CreatePsbt, CreateRawTransaction, CreateWallet, DecodePsbt, DecodePsbtError,
250-
DecodeRawTransaction, DecodeScript, DecodeScriptError, DumpPrivKey, DumpWallet,
250+
DecodeRawTransaction, DecodeScript, DecodeScriptError, DumpPrivKey, DumpWallet, EncryptWallet,
251251
EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction, FundRawTransactionError,
252252
Generate, GenerateToAddress, GetAddedNodeInfo, GetAddressInfo, GetAddressInfoEmbedded,
253253
GetAddressInfoEmbeddedError, GetAddressInfoError, GetAddressInfoLabel, GetAddressesByLabel,
@@ -272,7 +272,7 @@ pub use crate::v17::{
272272
SendToAddress, SetNetworkActive, SignMessage, SignMessageWithPrivKey, SignRawTransaction,
273273
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory, UploadTarget,
274274
ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage, VerifyTxOutProof,
275-
WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt, WitnessUtxo, EncryptWallet,
275+
WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt, WitnessUtxo,
276276
};
277277
#[doc(inline)]
278278
pub use crate::v18::{

types/src/v20/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ pub use crate::{
242242
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
243243
CreatePsbt, CreateRawTransaction, CreateWallet, DecodePsbt, DecodePsbtError,
244244
DecodeRawTransaction, DecodeScript, DecodeScriptError, DumpPrivKey, DumpWallet,
245-
EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction,
245+
EncryptWallet, EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction,
246246
FundRawTransactionError, Generate, GenerateToAddress, GetAddedNodeInfo, GetAddressInfo,
247247
GetAddressInfoEmbedded, GetAddressInfoEmbeddedError, GetAddressInfoError,
248248
GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetBestBlockHash, GetBlockCount,
@@ -268,7 +268,7 @@ pub use crate::{
268268
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
269269
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
270270
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt,
271-
WitnessUtxo, EncryptWallet,
271+
WitnessUtxo,
272272
},
273273
v18::{
274274
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

types/src/v21/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ pub use crate::{
244244
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
245245
CreatePsbt, CreateRawTransaction, CreateWallet, DecodePsbt, DecodePsbtError,
246246
DecodeRawTransaction, DecodeScript, DecodeScriptError, DumpPrivKey, DumpWallet,
247-
EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction,
247+
EncryptWallet, EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction,
248248
FundRawTransactionError, Generate, GenerateToAddress, GetAddedNodeInfo, GetAddressInfo,
249249
GetAddressInfoEmbedded, GetAddressInfoEmbeddedError, GetAddressInfoError,
250250
GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetBestBlockHash, GetBlockCount,
@@ -270,7 +270,7 @@ pub use crate::{
270270
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
271271
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
272272
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt,
273-
WitnessUtxo, EncryptWallet,
273+
WitnessUtxo,
274274
},
275275
v18::{
276276
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

types/src/v22/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ pub use crate::{
259259
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
260260
CreatePsbt, CreateRawTransaction, CreateWallet, DecodePsbt, DecodePsbtError,
261261
DecodeRawTransaction, DecodeScript, DecodeScriptError, DumpPrivKey, DumpWallet,
262-
EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction,
262+
EncryptWallet, EstimateSmartFee, FinalizePsbt, FinalizePsbtError, FundRawTransaction,
263263
FundRawTransactionError, Generate, GenerateToAddress, GetAddedNodeInfo, GetAddressInfo,
264264
GetAddressInfoEmbedded, GetAddressInfoEmbeddedError, GetAddressInfoError,
265265
GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetBestBlockHash, GetBlockCount,
@@ -285,7 +285,7 @@ pub use crate::{
285285
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
286286
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
287287
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt,
288-
WitnessUtxo, EncryptWallet,
288+
WitnessUtxo,
289289
},
290290
v18::{
291291
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

types/src/v23/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ pub use crate::{
253253
AddressInformation, BumpFee, BumpFeeError, ChainTips, ChainTipsError, ChainTipsStatus,
254254
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
255255
CreatePsbt, CreateRawTransaction, CreateWallet, DecodeRawTransaction, DecodeScript,
256-
DecodeScriptError, DumpPrivKey, DumpWallet, EstimateSmartFee, FinalizePsbt,
256+
DecodeScriptError, DumpPrivKey, DumpWallet, EncryptWallet, EstimateSmartFee, FinalizePsbt,
257257
FinalizePsbtError, FundRawTransaction, FundRawTransactionError, Generate,
258258
GenerateToAddress, GetAddedNodeInfo, GetAddressInfo, GetAddressInfoEmbedded,
259259
GetAddressInfoEmbeddedError, GetAddressInfoError, GetAddressInfoLabel, GetAddressesByLabel,
@@ -280,7 +280,7 @@ pub use crate::{
280280
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
281281
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
282282
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt,
283-
WitnessUtxo, EncryptWallet,
283+
WitnessUtxo,
284284
},
285285
v18::{
286286
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

types/src/v24/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ pub use crate::{
254254
AddressInformation, BumpFee, BumpFeeError, ChainTips, ChainTipsError, ChainTipsStatus,
255255
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
256256
CreatePsbt, CreateRawTransaction, CreateWallet, DecodeRawTransaction, DecodeScript,
257-
DecodeScriptError, DumpPrivKey, DumpWallet, EstimateSmartFee, FinalizePsbt,
257+
DecodeScriptError, DumpPrivKey, DumpWallet, EncryptWallet, EstimateSmartFee, FinalizePsbt,
258258
FinalizePsbtError, FundRawTransaction, FundRawTransactionError, Generate,
259259
GenerateToAddress, GetAddedNodeInfo, GetAddressInfo, GetAddressInfoEmbedded,
260260
GetAddressInfoEmbeddedError, GetAddressInfoError, GetAddressInfoLabel, GetAddressesByLabel,
@@ -281,7 +281,7 @@ pub use crate::{
281281
SignRawTransactionError, SoftforkReject, TestMempoolAccept, TransactionCategory,
282282
UploadTarget, ValidateAddress, ValidateAddressError, VerifyChain, VerifyMessage,
283283
VerifyTxOutProof, WalletCreateFundedPsbt, WalletCreateFundedPsbtError, WalletProcessPsbt,
284-
WitnessUtxo, EncryptWallet,
284+
WitnessUtxo,
285285
},
286286
v18::{
287287
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

types/src/v25/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ pub use crate::{
251251
AddressInformation, BumpFee, BumpFeeError, ChainTips, ChainTipsError, ChainTipsStatus,
252252
CombinePsbt, CombineRawTransaction, ConvertToPsbt, CreateMultisig, CreateMultisigError,
253253
CreatePsbt, CreateRawTransaction, DecodeRawTransaction, DecodeScript, DecodeScriptError,
254-
DumpPrivKey, DumpWallet, EstimateSmartFee, FinalizePsbt, FinalizePsbtError,
254+
DumpPrivKey, DumpWallet, EncryptWallet, EstimateSmartFee, FinalizePsbt, FinalizePsbtError,
255255
FundRawTransaction, FundRawTransactionError, Generate, GenerateToAddress, GetAddedNodeInfo,
256256
GetAddressInfo, GetAddressInfoEmbedded, GetAddressInfoEmbeddedError, GetAddressInfoError,
257257
GetAddressInfoLabel, GetAddressesByLabel, GetBalance, GetBestBlockHash, GetBlockCount,
@@ -276,7 +276,7 @@ pub use crate::{
276276
SignMessage, SignMessageWithPrivKey, SignRawTransaction, SignRawTransactionError,
277277
SoftforkReject, TestMempoolAccept, TransactionCategory, UploadTarget, ValidateAddress,
278278
ValidateAddressError, VerifyChain, VerifyMessage, VerifyTxOutProof, WalletCreateFundedPsbt,
279-
WalletCreateFundedPsbtError, WalletProcessPsbt, WitnessUtxo, EncryptWallet,
279+
WalletCreateFundedPsbtError, WalletProcessPsbt, WitnessUtxo,
280280
},
281281
v18::{
282282
ActiveCommand, AnalyzePsbt, AnalyzePsbtError, AnalyzePsbtInput, AnalyzePsbtInputMissing,

0 commit comments

Comments
 (0)