Minor post-merge fixes

This commit is contained in:
Jędrzej Stuczyński
2022-06-06 17:31:09 +01:00
parent a60de5764d
commit 8300daa117
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ use url::Url;
use crate::error::Result;
use crate::{MNEMONIC, NYMD_URL};
use network_defaults::{DEFAULT_NETWORK, DENOM, VOUCHER_INFO};
use network_defaults::{DEFAULT_NETWORK, MIX_DENOM, VOUCHER_INFO};
use validator_client::nymd::traits::CoconutBandwidthSigningClient;
use validator_client::nymd::{Coin, Fee, NymdClient, SigningNymdClient};
@@ -34,7 +34,7 @@ impl Client {
encryption_key: String,
fee: Option<Fee>,
) -> Result<String> {
let amount = Coin::new(amount as u128, DENOM.to_string());
let amount = Coin::new(amount as u128, MIX_DENOM.base.to_string());
Ok(self
.nymd_client
.deposit(
+2 -2
View File
@@ -83,8 +83,8 @@ impl super::client::Client for DummyClient {
async fn execute_proposal(
&self,
proposal_id: u64,
fee: Option<Fee>,
_proposal_id: u64,
_fee: Option<Fee>,
) -> crate::coconut::error::Result<()> {
todo!()
}