emit: remove tailCall argument from AppCall

There is no TAILCALL opcode in NEO3.
This commit is contained in:
Evgenii Stratonikov 2020-05-07 14:58:59 +03:00
parent 73c82584a3
commit c0147c76ac
3 changed files with 8 additions and 9 deletions

View file

@ -1616,7 +1616,7 @@ func ScriptFromWitness(hash util.Uint160, witness *transaction.Witness) ([]byte,
if len(verification) == 0 {
bb := io.NewBufBinWriter()
emit.AppCall(bb.BinWriter, hash, false)
emit.AppCall(bb.BinWriter, hash)
verification = bb.Bytes()
} else if h := witness.ScriptHash(); hash != h {
return nil, errors.New("witness hash mismatch")