Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
popenta committed Dec 11, 2024
1 parent 416390d commit 85f0ff7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ def test_guard_account(self):

def test_unguard_account(self):
sender = Address.new_from_bech32("erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th")
tx = self.factory.create_transaction_for_unguarding_account(sender)
guardian = Address.new_from_bech32("erd1spyavw0956vq68xj8y4tenjpq2wd5a9p2c6j8gsz7ztyrnpxrruqzu66jx")
tx = self.factory.create_transaction_for_unguarding_account(sender, guardian)

assert tx.sender.to_bech32() == "erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th"
assert tx.receiver.to_bech32() == "erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th"
assert tx.data.decode() == "UnGuardAccount"
assert tx.gas_limit == 321000
assert tx.guardian == guardian

0 comments on commit 85f0ff7

Please sign in to comment.