File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,6 @@ fn main() -> anyhow::Result<()> {
9898 let mut db = Connection :: open ( args. db_path ) ?;
9999
100100 let mut params = LoadParams :: new ( )
101- . check_default ( KeychainKind :: External )
102101 . check_descriptor ( KeychainKind :: External , Some ( args. descriptor . clone ( ) ) )
103102 . check_genesis_hash ( bitcoin:: constants:: genesis_block ( args. network ) . block_hash ( ) )
104103 . check_network ( args. network ) ;
Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ const ELECTRUM_URL: &str = "ssl://mempool.space:40002";
2727fn main ( ) -> Result < ( ) , anyhow:: Error > {
2828 let mut db = Connection :: open ( DB_PATH ) ?;
2929 let params = LoadParams :: new ( )
30- . check_default ( KeychainKind :: External )
3130 . check_descriptor ( KeychainKind :: External , Some ( EXTERNAL_DESC ) )
3231 . check_descriptor ( KeychainKind :: Internal , Some ( INTERNAL_DESC ) )
3332 . check_genesis_hash ( bitcoin:: constants:: genesis_block ( NETWORK ) . block_hash ( ) )
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ const ESPLORA_URL: &str = "https://mempool.space/testnet4/api";
2424async fn main ( ) -> Result < ( ) , anyhow:: Error > {
2525 let mut db = Connection :: open ( DB_PATH ) ?;
2626 let params = LoadParams :: new ( )
27- . check_default ( KeychainKind :: External )
2827 . check_descriptor ( KeychainKind :: External , Some ( EXTERNAL_DESC ) )
2928 . check_descriptor ( KeychainKind :: Internal , Some ( INTERNAL_DESC ) )
3029 . check_genesis_hash ( bitcoin:: constants:: genesis_block ( NETWORK ) . block_hash ( ) )
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ const ESPLORA_URL: &str = "https://mempool.space/testnet4/api";
2424fn main ( ) -> Result < ( ) , anyhow:: Error > {
2525 let mut db = Connection :: open ( DB_PATH ) ?;
2626 let params = LoadParams :: new ( )
27- . check_default ( KeychainKind :: External )
2827 . check_descriptor ( KeychainKind :: External , Some ( EXTERNAL_DESC ) )
2928 . check_descriptor ( KeychainKind :: Internal , Some ( INTERNAL_DESC ) )
3029 . check_genesis_hash ( bitcoin:: constants:: genesis_block ( NETWORK ) . block_hash ( ) )
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ fn main() {
122122
123123 // Set up load parameters - these verify the wallet matches expectations
124124 let params = LoadParams :: < AccountType > :: new ( )
125- . check_default ( AccountType :: Savings )
126125 . check_descriptor ( AccountType :: Savings , Some ( SAVINGS_DESC ) )
127126 . check_descriptor ( AccountType :: Spending , Some ( SPENDING_DESC ) )
128127 . check_descriptor ( AccountType :: Donations , Some ( DONATIONS_WRONG_DESC ) )
You can’t perform that action at this time.
0 commit comments