From e9a80c14906919733e50c393b93d94c2dde20efd Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期六, 06 七月 2019 13:28:21 +0800
Subject: [PATCH] update sdk

---
 protomsg.pb.go |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/protomsg.pb.go b/protomsg.pb.go
index 5ea3105..0d332d5 100644
--- a/protomsg.pb.go
+++ b/protomsg.pb.go
@@ -9,7 +9,6 @@
 	proto "github.com/gogo/protobuf/proto"
 	io "io"
 	math "math"
-	math_bits "math/bits"
 )
 
 // Reference imports to suppress errors if they are not otherwise used.
@@ -3419,7 +3418,14 @@
 }
 
 func sovProtomsg(x uint64) (n int) {
-	return (math_bits.Len64(x|1) + 6) / 7
+	for {
+		n++
+		x >>= 7
+		if x == 0 {
+			break
+		}
+	}
+	return n
 }
 func sozProtomsg(x uint64) (n int) {
 	return sovProtomsg(uint64((x << 1) ^ uint64((int64(x) >> 63))))

--
Gitblit v1.8.0