We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github.com/xuperchain/[email protected]/protos/event.pb.go 代码: func init() { proto.RegisterEnum("protos.SubscribeType", SubscribeType_name, SubscribeType_value) proto.RegisterType((*SubscribeRequest)(nil), "protos.SubscribeRequest") proto.RegisterType((*Event)(nil), "protos.Event") proto.RegisterType((*BlockRange)(nil), "protos.BlockRange") proto.RegisterType((*BlockFilter)(nil), "protos.BlockFilter") proto.RegisterType((*FilteredBlock)(nil), "protos.FilteredBlock") proto.RegisterType((*FilteredTransaction)(nil), "protos.FilteredTransaction") }
github.com/hyperledger/fabric-protos-go/blob/release-2.2/peer/events.pb.go 代码: func init() { proto.RegisterType((*FilteredBlock)(nil), "protos.FilteredBlock") proto.RegisterType((*FilteredTransaction)(nil), "protos.FilteredTransaction") proto.RegisterType((*FilteredTransactionActions)(nil), "protos.FilteredTransactionActions") proto.RegisterType((*FilteredChaincodeAction)(nil), "protos.FilteredChaincodeAction") proto.RegisterType((*BlockAndPrivateData)(nil), "protos.BlockAndPrivateData") proto.RegisterMapType((map[uint64]*rwset.TxPvtReadWriteSet)(nil), "protos.BlockAndPrivateData.PrivateDataMapEntry") proto.RegisterType((*DeliverResponse)(nil), "protos.DeliverResponse") }
其中protos.FilteredBlock,protos.FilteredTransaction重复,导致编译后运行直接panic
The text was updated successfully, but these errors were encountered:
proto message 不支持调整。
Sorry, something went wrong.
No branches or pull requests
github.com/xuperchain/[email protected]/protos/event.pb.go 代码:
func init() {
proto.RegisterEnum("protos.SubscribeType", SubscribeType_name, SubscribeType_value)
proto.RegisterType((*SubscribeRequest)(nil), "protos.SubscribeRequest")
proto.RegisterType((*Event)(nil), "protos.Event")
proto.RegisterType((*BlockRange)(nil), "protos.BlockRange")
proto.RegisterType((*BlockFilter)(nil), "protos.BlockFilter")
proto.RegisterType((*FilteredBlock)(nil), "protos.FilteredBlock")
proto.RegisterType((*FilteredTransaction)(nil), "protos.FilteredTransaction")
}
github.com/hyperledger/fabric-protos-go/blob/release-2.2/peer/events.pb.go 代码:
func init() {
proto.RegisterType((*FilteredBlock)(nil), "protos.FilteredBlock")
proto.RegisterType((*FilteredTransaction)(nil), "protos.FilteredTransaction")
proto.RegisterType((*FilteredTransactionActions)(nil), "protos.FilteredTransactionActions")
proto.RegisterType((*FilteredChaincodeAction)(nil), "protos.FilteredChaincodeAction")
proto.RegisterType((*BlockAndPrivateData)(nil), "protos.BlockAndPrivateData")
proto.RegisterMapType((map[uint64]*rwset.TxPvtReadWriteSet)(nil), "protos.BlockAndPrivateData.PrivateDataMapEntry")
proto.RegisterType((*DeliverResponse)(nil), "protos.DeliverResponse")
}
其中protos.FilteredBlock,protos.FilteredTransaction重复,导致编译后运行直接panic
The text was updated successfully, but these errors were encountered: