Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
Merge pull request #21 from irisnet/develop
Browse files Browse the repository at this point in the history
Release/0.2.2
  • Loading branch information
zhangyelong authored Jul 25, 2018
2 parents 56f6e35 + b2b49d3 commit 5041c38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/handler/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ import (

// get tx type
func GetTxType(docTx store.Docs) string {
if docTx == nil {
return ""
}
if !reflect.ValueOf(docTx).FieldByName("Type").IsValid() {
logger.Error.Printf("type which is field name of stake docTx is missed, docTx is %+v\n",
helper.ToJson(docTx))
Expand Down

0 comments on commit 5041c38

Please sign in to comment.