Skip to content

Commit

Permalink
remove account from test
Browse files Browse the repository at this point in the history
  • Loading branch information
popenta committed Dec 5, 2024
1 parent fb87299 commit 5116fe6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions multiversx_sdk/core/transaction_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import pytest

from multiversx_sdk.accounts.account import Account
from multiversx_sdk.core.address import Address
from multiversx_sdk.core.constants import \
MIN_TRANSACTION_VERSION_THAT_SUPPORTS_OPTIONS
Expand Down Expand Up @@ -383,7 +382,7 @@ def test_serialize_tx_with_relayed_v3(self):
def test_relayed_v3(self):
alice = Address.new_from_bech32("erd1qyu5wthldzr8wx5c9ucg8kjagg0jfs53s8nr3zpz3hypefsdd8ssycr6th")
bob = Address.new_from_bech32("erd1spyavw0956vq68xj8y4tenjpq2wd5a9p2c6j8gsz7ztyrnpxrruqzu66jx")
carol = Account(self.carol.secret_key)
carol = Address(self.carol.public_key.get_bytes())

transaction = Transaction(
nonce=90,
Expand All @@ -399,5 +398,5 @@ def test_relayed_v3(self):
)
assert not self.transaction_computer.is_relayed_v3_transaction(transaction)

transaction.relayer = carol.address
transaction.relayer = carol
assert self.transaction_computer.is_relayed_v3_transaction(transaction)

0 comments on commit 5116fe6

Please sign in to comment.