From 2bb85371515b3ad0e0dde5762cd364c46f0bbe1f Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Tue, 9 Feb 2021 11:14:28 +0300 Subject: [PATCH] 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. --- pkg/core/native/notary.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/native/notary.go b/pkg/core/native/notary.go index 7312a7f3c..3eec3553e 100644 --- a/pkg/core/native/notary.go +++ b/pkg/core/native/notary.go @@ -86,7 +86,7 @@ func newNotary() *Notary { desc = newDescriptor("verify", smartcontract.BoolType, manifest.NewParameter("signature", smartcontract.SignatureType)) - md = newMethodAndPrice(n.verify, 100_0000, callflag.ReadStates) + md = newMethodAndPrice(n.verify, NotaryVerificationPrice, callflag.ReadStates) n.AddMethod(md, desc) desc = newDescriptor("getMaxNotValidBeforeDelta", smartcontract.IntegerType)