don't show zap button if no wallet

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-05-07 14:36:56 -04:00
parent 86d2a9e2e7
commit 54c0fdb563
10 changed files with 84 additions and 58 deletions

View File

@@ -84,8 +84,8 @@ impl<'a> FilledKeypair<'a> {
}
}
impl<'a> From<FilledKeypair<'a>> for KeypairUnowned<'a> {
fn from(value: FilledKeypair<'a>) -> Self {
impl<'a> From<&'a FilledKeypair<'a>> for KeypairUnowned<'a> {
fn from(value: &'a FilledKeypair<'a>) -> Self {
Self {
pubkey: value.pubkey,
secret_key: Some(value.secret_key),