manifest/compiler: drop hashes from ABI and debug info
See neo-project/neo-devpack-dotnet#391 and neo-project/neo#2044.
This commit is contained in:
parent
34d2eaf00e
commit
b92ea2a48a
16 changed files with 57 additions and 115 deletions
|
@ -48,7 +48,7 @@ func CreateFromMethod(ic *interop.Context) error {
|
|||
return errors.New("invalid method name")
|
||||
}
|
||||
currCs, err := ic.DAO.GetContractState(ic.VM.GetCurrentScriptHash())
|
||||
if err == nil && !currCs.Manifest.CanCall(&cs.Manifest, method) {
|
||||
if err == nil && !currCs.Manifest.CanCall(h, &cs.Manifest, method) {
|
||||
return errors.New("method call is not allowed")
|
||||
}
|
||||
md := cs.Manifest.ABI.GetMethod(method)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue