Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Remove Neo.Witness.GetInvocationScript
Browse files Browse the repository at this point in the history
  • Loading branch information
localhuman committed Oct 30, 2018
1 parent 25b7b62 commit efe4ded
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 33 deletions.
16 changes: 0 additions & 16 deletions boa/interop/Neo/Witness.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@

class Witness:

@property
def InvocationScript(self):
"""
:return:
"""
return GetInvocationScript(self)

@property
def VerificationScript(self):
"""
Expand All @@ -18,14 +10,6 @@ def VerificationScript(self):
return GetVerificationScript(self)


def GetInvocationScript(witness):
"""
:param witness:
"""
pass


def GetVerificationScript(witness):
"""
Expand Down
17 changes: 0 additions & 17 deletions boa_test/example/blockchain/TransactionTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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 = []
Expand Down

0 comments on commit efe4ded

Please sign in to comment.