-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow method overloads #2237
Allow method overloads #2237
Conversation
@@ -391,14 +391,18 @@ public long CalculateNetworkFee(StoreView snapshot, Transaction tx) | |||
{ | |||
var contract = NativeContract.ContractManagement.GetContract(snapshot, hash); | |||
if (contract is null) continue; | |||
var md = contract.Manifest.Abi.GetMethod("verify", 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
var md = contract.Manifest.Abi.GetMethod("verify", 0); | |
var md = contract.Manifest.Abi.GetMethod("verify", -1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the wallet support 0
parameter only. Because no InvocationScript
is provided.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a side note, but we use verify
with parameter (a signature) in the Notary contract (#1573). But this can be accounted for when/if implementing support for it.
No description provided.