From 41823f79b78c74d4979b015369c2063051ce9b58 Mon Sep 17 00:00:00 2001 From: Ricky Saechao Date: Mon, 12 Aug 2024 09:10:18 -0700 Subject: [PATCH] fix: change initial balance for allowance fail Signed-off-by: Ricky Saechao --- tests/e2e/token/reject.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/token/reject.rs b/tests/e2e/token/reject.rs index a20021ff..aa59a0c8 100644 --- a/tests/e2e/token/reject.rs +++ b/tests/e2e/token/reject.rs @@ -453,7 +453,7 @@ async fn remove_allowance_fails() -> anyhow::Result<()> { let spender_account_key = PrivateKey::generate_ed25519(); let spender_account_id = AccountCreateTransaction::new() .key(spender_account_key.public_key()) - .initial_balance(Hbar::new(1)) + .initial_balance(Hbar::new(25)) .max_automatic_token_associations(-1) .execute(&client) .await? @@ -906,7 +906,7 @@ async fn create_receiver_account( ) -> hedera::Result { let receipt = hedera::AccountCreateTransaction::new() .key(account_key.public_key()) - .initial_balance(Hbar::new(1)) + .initial_balance(Hbar::new(10)) .max_automatic_token_associations(max_automatic_token_associations) .execute(client) .await?