Correct method to property calls

This commit is contained in:
lash 2022-05-09 19:21:45 +00:00
parent 20dfb641ff
commit 23f977482c
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 3 additions and 3 deletions

View File

@ -648,11 +648,11 @@ class Tx(BaseTx, Src):
self.r = src.get('r')
self.s = src.get('s')
self.status = Status.PENDING
#self.status = Status.PENDING
def as_dict(self):
return self.src()
return self.src
def apply_receipt(self, rcpt, strict=False):

View File

@ -82,7 +82,7 @@ class TxTestCase(EthTesterCase):
o = transaction(tx_hash_hex)
tx_src = self.rpc.do(o)
tx = Tx(tx_src)
tx_bin = pack(tx.src(), self.chain_spec)
tx_bin = pack(tx.src, self.chain_spec)
def test_tx_pack(self):