diff --git a/packages/ledger-namada/package.json b/packages/ledger-namada/package.json index 5cda0448ac..f30d6ff5e4 100644 --- a/packages/ledger-namada/package.json +++ b/packages/ledger-namada/package.json @@ -1,5 +1,5 @@ { - "name": "@zondax/ledger-namada", + "name": "@namada/ledger-namada", "author": "Zondax AG", "license": "Apache-2.0", "version": "0.0.1", diff --git a/packages/shared/lib/src/sdk/mod.rs b/packages/shared/lib/src/sdk/mod.rs index 289549396c..c789858cf3 100644 --- a/packages/shared/lib/src/sdk/mod.rs +++ b/packages/shared/lib/src/sdk/mod.rs @@ -353,28 +353,21 @@ impl Sdk { vote_proposal_msg: &[u8], tx_msg: &[u8], password: Option, - gas_payer: Option, + _gas_payer: Option, ) -> Result { let (args, faucet_signer) = tx::vote_proposal_tx_args(vote_proposal_msg, tx_msg, password)?; - - let voter = args.voter.clone(); - let default_signer = faucet_signer.clone().or(Some(voter.clone())); - - let (signing_data, fee_payer) = self - .signing_data_and_fee_payer(&args.tx, Some(voter), default_signer, gas_payer) - .await?; - let epoch = query_epoch(&self.client).await?; let namada = self.get_namada(); - let (tx, _, _) = build_vote_proposal(&namada, &args, epoch) + let (tx, signing_data, _) = build_vote_proposal(&namada, &args, epoch) .await + .map_err(JsError::from)?; Ok(BuiltTx { tx, signing_data, - is_faucet_transfer: false, + is_faucet_transfer: faucet_signer.is_some(), }) }