internal: None, range: None, next: None, }) .collect(), }) } fn load_wallet(&self, wallet: String) -> Result<LoadWalletResult, jsonrpc_core::Error> { if self.state().wallets.contains(&wallet) { self.state().loaded_wallets.insert(wallet.clone()); Ok(LoadWalletResult { name: wallet, warning: None, }) } else { Err(Self::not_found()) } } fn list_wallets(&self) -> Result<Vec<String>, jsonrpc_core::Error> { Ok( self .state() .loaded_wallets .clone() .into_iter() .collect::<Vec<String>>(), ) } }
Inscription number 44,981,833
Genesis block 819,058
File type text
File size 662 b
Creation date Nov 30,2023 8:35 am