Skip to content

Commit 6261e47

Browse files
author
Pavel Soloviev
committed
Fixed type mismatch
1 parent de2fe4e commit 6261e47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/service/storage/models.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ type TxSent struct {
7878
TxHash string `json:"tx_hash" gorm:"type:TEXT"`
7979
ErrMsg string `json:"err_msg" gorm:"type:TEXT"`
8080
Status TxStatus `json:"status" gorm:"type:tx_statuses"`
81-
Nonce uint64 `json:"nonce" gorm:"type:UINT"`
81+
Nonce uint64 `json:"nonce" gorm:"type:BIGINT"`
8282
CreateTime int64 `json:"create_time" gorm:"type:BIGINT"`
8383
UpdateTime int64 `json:"update_time" gorm:"type:BIGINT"`
8484
}

0 commit comments

Comments
 (0)