mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 01:11:32 +00:00
use tendermint/log15
This commit is contained in:
@ -88,6 +88,8 @@ func RegisterType(info *TypeInfo) *TypeInfo {
|
||||
|
||||
func readReflect(rv reflect.Value, rt reflect.Type, r Unreader, n *int64, err *error) {
|
||||
|
||||
log.Debug("Read reflect", "type", rt)
|
||||
|
||||
// First, create a new struct if rv is nil pointer.
|
||||
if rt.Kind() == reflect.Ptr && rv.IsNil() {
|
||||
newRv := reflect.New(rt.Elem())
|
||||
|
Reference in New Issue
Block a user