Skip to content

Commit

Permalink
Update blockchain.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Dec 26, 2023
1 parent fcace1a commit 376870c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blockchain/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ func (bl *FxBlockchain) PlugSeedIfNeeded(ctx context.Context, action string, req
val := reflect.ValueOf(req)
if val.Kind() != reflect.Ptr || val.Elem().Kind() != reflect.Struct {
log.Error("req is not a pointer to a struct")
log.Errorf("Invalid req type: %T", req)
return req
}

Expand Down

0 comments on commit 376870c

Please sign in to comment.