core: use declared constant for Notary's verification price

This constant is used from the outside, it should be synced with the
real verification price.
This commit is contained in:
Anna Shaleva 2021-02-09 11:14:28 +03:00
parent 7896ef0640
commit 2bb8537151

View file

@ -86,7 +86,7 @@ func newNotary() *Notary {
desc = newDescriptor("verify", smartcontract.BoolType, desc = newDescriptor("verify", smartcontract.BoolType,
manifest.NewParameter("signature", smartcontract.SignatureType)) manifest.NewParameter("signature", smartcontract.SignatureType))
md = newMethodAndPrice(n.verify, 100_0000, callflag.ReadStates) md = newMethodAndPrice(n.verify, NotaryVerificationPrice, callflag.ReadStates)
n.AddMethod(md, desc) n.AddMethod(md, desc)
desc = newDescriptor("getMaxNotValidBeforeDelta", smartcontract.IntegerType) desc = newDescriptor("getMaxNotValidBeforeDelta", smartcontract.IntegerType)