@@ -27,7 +27,7 @@ use wallet::{
27
27
wallet:: tx_builder:: TxOrdering ,
28
28
KeychainKind , LocalOutput ,
29
29
} ,
30
- bitcoin:: { self , Address , Amount , FeeRate , OutPoint } ,
30
+ bitcoin:: { self , Address , Amount , FeeRate , OutPoint } ,
31
31
builder:: {
32
32
CoinTransfer , SelectionOutput , SpaceTransfer , SpacesAwareCoinSelection , TransactionTag ,
33
33
TransferRequest ,
@@ -943,12 +943,6 @@ impl RpcWallet {
943
943
resp_rx. await ?
944
944
}
945
945
946
- pub async fn send_list_spaces ( & self ) -> anyhow:: Result < Vec < WalletOutput > > {
947
- let ( resp, resp_rx) = oneshot:: channel ( ) ;
948
- self . sender . send ( WalletCommand :: ListSpaces { resp } ) . await ?;
949
- resp_rx. await ?
950
- }
951
-
952
946
pub async fn send_force_spend (
953
947
& self ,
954
948
outpoint : OutPoint ,
@@ -965,6 +959,12 @@ impl RpcWallet {
965
959
resp_rx. await ?
966
960
}
967
961
962
+ pub async fn send_list_spaces ( & self ) -> anyhow:: Result < Vec < WalletOutput > > {
963
+ let ( resp, resp_rx) = oneshot:: channel ( ) ;
964
+ self . sender . send ( WalletCommand :: ListSpaces { resp } ) . await ?;
965
+ resp_rx. await ?
966
+ }
967
+
968
968
pub async fn send_list_bidouts ( & self ) -> anyhow:: Result < Vec < DoubleUtxo > > {
969
969
let ( resp, resp_rx) = oneshot:: channel ( ) ;
970
970
self . sender
0 commit comments