From 4775437426d7a2bb70cb3b593cb9a81ff82d4624 Mon Sep 17 00:00:00 2001 From: Christopher Goes Date: Tue, 15 May 2018 16:23:57 +0200 Subject: [PATCH] Unexport verifyCost --- x/auth/ante.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x/auth/ante.go b/x/auth/ante.go index bf70b3e9b6..69b867e17c 100644 --- a/x/auth/ante.go +++ b/x/auth/ante.go @@ -9,7 +9,7 @@ import ( ) const ( - VerifyCost = 100 + verifyCost = 100 ) // NewAnteHandler returns an AnteHandler that checks @@ -138,7 +138,7 @@ func processSig( } // Check sig. - ctx.GasMeter().ConsumeGas(VerifyCost, "ante verify") + ctx.GasMeter().ConsumeGas(verifyCost, "ante verify") if !pubKey.VerifyBytes(signBytes, sig.Signature) { return nil, sdk.ErrUnauthorized("signature verification failed").Result() }