crypto/bn256: fix issues caused by Go 1.11

This commit is contained in:
MestryOmkar 2018-11-09 17:58:40 +05:30
parent fd471f8d3b
commit fa90c3eeb0
3 changed files with 8 additions and 3 deletions

View file

@ -184,7 +184,7 @@ func (info *nodeInfos) Report() map[string]string {
report["Miner account"] = info.etherbase report["Miner account"] = info.etherbase
} }
if info.keyJSON != "" { if info.keyJSON != "" {
// Clique XDPos // Clique XDPoS
var key struct { var key struct {
Address string `json:"address"` Address string `json:"address"`
} }

View file

@ -24,5 +24,4 @@ TEXT ·xgetbv(SB),NOSPLIT,$0-8
XGETBV XGETBV
MOVL AX, eax+0(FP) MOVL AX, eax+0(FP)
MOVL DX, edx+4(FP) MOVL DX, edx+4(FP)
RET RET

6
vendor/vendor.json vendored
View file

@ -603,6 +603,12 @@
"revision": "f52d1811a62927559de87708c8913c1650ce4f26", "revision": "f52d1811a62927559de87708c8913c1650ce4f26",
"revisionTime": "2017-05-17T20:25:26Z" "revisionTime": "2017-05-17T20:25:26Z"
}, },
{
"checksumSHA1": "REkmyB368pIiip76LiqMLspgCRk=",
"path": "golang.org/x/sys/cpu",
"revision": "904bdc257025c7b3f43c19360ad3ab85783fad78",
"revisionTime": "2018-08-08T08:17:46Z"
},
{ {
"checksumSHA1": "r1jWq0V3AI5DLN0aCnXXMH/is9Q=", "checksumSHA1": "r1jWq0V3AI5DLN0aCnXXMH/is9Q=",
"path": "golang.org/x/sys/unix", "path": "golang.org/x/sys/unix",