fix formatting

This commit is contained in:
2022-06-29 13:56:43 +01:00
parent 2abe4b5e10
commit 914ffb70cc

View File

@ -84,18 +84,16 @@ impl Sbot {
Keystore::CustomGoSbot(key_path) => { Keystore::CustomGoSbot(key_path) => {
keystore::from_custom_gosbot_keypath(key_path.to_string()) keystore::from_custom_gosbot_keypath(key_path.to_string())
.await .await
.unwrap_or_else(|_| panic!( .unwrap_or_else(|_| {
"couldn't read local go-sbot secret from: {}", panic!("couldn't read local go-sbot secret from: {}", key_path)
key_path })
))
} }
Keystore::CustomPatchwork(key_path) => { Keystore::CustomPatchwork(key_path) => {
keystore::from_custom_patchwork_keypath(key_path.to_string()) keystore::from_custom_patchwork_keypath(key_path.to_string())
.await .await
.unwrap_or_else(|_| panic!( .unwrap_or_else(|_| {
"couldn't read local patchwork secret from: {}", panic!("couldn't read local patchwork secret from: {}", key_path)
key_path })
))
} }
}; };