mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-08-26 20:01:16 +00:00
fix(lez/wallet): drop signing with recipient keys
This commit is contained in:
@@ -61,7 +61,7 @@ impl AuthTransferSubcommand {
|
||||
match resolved {
|
||||
AccountIdWithPrivacy::Public(pub_account_id) => {
|
||||
let tx_hash = NativeTokenTransfer(wallet_core)
|
||||
.register_account(account_id.into_public_identity(pub_account_id))
|
||||
.register_account(account_id.into_public_identity(pub_account_id, true))
|
||||
.await?;
|
||||
|
||||
wallet_core
|
||||
@@ -123,8 +123,8 @@ impl AuthTransferSubcommand {
|
||||
(AccountIdWithPrivacy::Public(from), AccountIdWithPrivacy::Public(to)) => {
|
||||
let to_mention = to_account.expect("matched Some branch");
|
||||
NativeTokenTransferProgramSubcommand::Public {
|
||||
from: Some(from_account.into_public_identity(from)),
|
||||
to: Some(to_mention.into_public_identity(to)),
|
||||
from: Some(from_account.into_public_identity(from, true)),
|
||||
to: Some(to_mention.into_public_identity(to, false)),
|
||||
amount,
|
||||
}
|
||||
}
|
||||
@@ -143,7 +143,7 @@ impl AuthTransferSubcommand {
|
||||
(AccountIdWithPrivacy::Public(from), AccountIdWithPrivacy::Private(to)) => {
|
||||
NativeTokenTransferProgramSubcommand::Shielded(
|
||||
NativeTokenTransferProgramSubcommandShielded::ShieldedOwned {
|
||||
from: Some(from_account.into_public_identity(from)),
|
||||
from: Some(from_account.into_public_identity(from, true)),
|
||||
to,
|
||||
amount,
|
||||
},
|
||||
@@ -165,7 +165,7 @@ impl AuthTransferSubcommand {
|
||||
AccountIdWithPrivacy::Public(from) => {
|
||||
NativeTokenTransferProgramSubcommand::Shielded(
|
||||
NativeTokenTransferProgramSubcommandShielded::ShieldedForeign {
|
||||
from: Some(from_account.into_public_identity(from)),
|
||||
from: Some(from_account.into_public_identity(from, true)),
|
||||
to_npk,
|
||||
to_vpk,
|
||||
to_identifier,
|
||||
|
||||
Reference in New Issue
Block a user