hashcloak / katzenmint-pki

A BFT PKI for the Katzenpost Authority PKI System using Tendermint
Apache License 2.0
2 stars 1 forks source link

panic: error parsing authority: json decode error [pos 1]: only encoded map or array can be decoded into a struct #29

Closed sc0Vu closed 3 years ago

sc0Vu commented 3 years ago
auth1_1  | panic: error parsing authority: json decode error [pos 1]: only encoded map or array can be decoded into a struct
auth1_1  | 
auth1_1  | goroutine 1 [running]:
auth1_1  | github.com/hashcloak/katzenmint-pki.NewKatzenmintState.func3(0xc00774a240, 0x5f, 0x5f, 0xc00774c3c0, 0x27, 0x27, 0x90)
auth1_1  |  /go/katzenmint-pki/state.go:156 +0x585
auth1_1  | github.com/cosmos/iavl.(*ImmutableTree).IterateRange.func1(0xc00019a6e0, 0x2, 0x5f)
auth1_1  |  /go/pkg/mod/github.com/cosmos/iavl@v0.15.3/immutable_tree.go:186 +0x68
auth1_1  | github.com/cosmos/iavl.(*Node).traverseInRange(0xc00019a6e0, 0xc00762da58, 0xc0000b5da2, 0xd, 0xd, 0xc0076314c0, 0xe, 0x20, 0x20001, 0xc0000b5ce8, ...)
auth1_1  |  /go/pkg/mod/github.com/cosmos/iavl@v0.15.3/node.go:469 +0x5f1
auth1_1  | github.com/cosmos/iavl.(*Node).traverseInRange(0xc00019a5a0, 0xc00762da58, 0xc0000b5da2, 0xd, 0xd, 0xc0076314c0, 0xe, 0x20, 0x7f1e00010001, 0xc0000b5ce8, ...)
auth1_1  |  /go/pkg/mod/github.com/cosmos/iavl@v0.15.3/node.go:479 +0x1e9
auth1_1  | github.com/cosmos/iavl.(*Node).traverseInRange(0xc00019a0a0, 0xc00762da58, 0xc0000b5da2, 0xd, 0xd, 0xc0076314c0, 0xe, 0x20, 0x1, 0xc0000b5ce8, ...)
auth1_1  |  /go/pkg/mod/github.com/cosmos/iavl@v0.15.3/node.go:479 +0x1e9
auth1_1  | github.com/cosmos/iavl.(*ImmutableTree).IterateRange(0xc00762da58, 0xc0000b5da2, 0xd, 0xd, 0xc0076314c0, 0xe, 0x20, 0x1, 0xc0000b5e38, 0x0)
auth1_1  |  /go/pkg/mod/github.com/cosmos/iavl@v0.15.3/immutable_tree.go:184 +0xd2