diff --git a/boa/interop/Neo/Witness.py b/boa/interop/Neo/Witness.py index 2100128..71a9b9c 100644 --- a/boa/interop/Neo/Witness.py +++ b/boa/interop/Neo/Witness.py @@ -1,14 +1,6 @@ class Witness: - @property - def InvocationScript(self): - """ - - :return: - """ - return GetInvocationScript(self) - @property def VerificationScript(self): """ @@ -18,14 +10,6 @@ def VerificationScript(self): return GetVerificationScript(self) -def GetInvocationScript(witness): - """ - - :param witness: - """ - pass - - def GetVerificationScript(witness): """ diff --git a/boa_test/example/blockchain/TransactionTest.py b/boa_test/example/blockchain/TransactionTest.py index 8b8db72..a23b786 100644 --- a/boa_test/example/blockchain/TransactionTest.py +++ b/boa_test/example/blockchain/TransactionTest.py @@ -70,7 +70,6 @@ def Main(operation, txid): witnesses = tx.Witnesses for item in witnesses: witness = { - 'invocation': item.InvocationScript, 'verification': item.VerificationScript } res.append(witness) @@ -86,22 +85,6 @@ def Main(operation, txid): res.append(script_hash) return res - # @TODO - # For some reason, if theres a bunch of iterations - # in a row, then the last one fails? -# elif operation == 'get_unspent_details': -# res2 = [] -# uns = tx.UnspentCoins -# for item2 in uns: -# subres = [] -# subres.append(item2.Value) -# subres.append(item2.AssetId) -# subres.append(item2.ScriptHash) -# res2.append(subres) -# -# return res2 - - # @TODO # name clash with Input.GetHash and Transaction.GetHash elif operation == 'get_input_details': res = []