Correct method to property calls
This commit is contained in:
parent
20dfb641ff
commit
23f977482c
@ -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):
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user