Skip to content

Commit

Permalink
fix: change initial balance for allowance fail
Browse files Browse the repository at this point in the history
Signed-off-by: Ricky Saechao <[email protected]>
  • Loading branch information
RickyLB committed Aug 12, 2024
1 parent 8ddfbf3 commit 41823f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/token/reject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down Expand Up @@ -906,7 +906,7 @@ async fn create_receiver_account(
) -> hedera::Result<Account> {
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?
Expand Down

0 comments on commit 41823f7

Please sign in to comment.