OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(federation): add mainchain & sidechain listener (#170)
[bytom/vapor.git]
/
federation
/
database
/
orm
/
cross_transaction.go
diff --git
a/federation/database/orm/cross_transaction.go
b/federation/database/orm/cross_transaction.go
index
345074b
..
ddb0841
100644
(file)
--- a/
federation/database/orm/cross_transaction.go
+++ b/
federation/database/orm/cross_transaction.go
@@
-1,6
+1,8
@@
package orm
import (
package orm
import (
+ "database/sql"
+
"github.com/vapor/federation/types"
)
"github.com/vapor/federation/types"
)
@@
-13,10
+15,10
@@
type CrossTransaction struct {
SourceMuxID string
SourceTxHash string
SourceRawTransaction string
SourceMuxID string
SourceTxHash string
SourceRawTransaction string
- DestBlockHeight
ui
nt64
- DestBlockHash string
- DestTxIndex
ui
nt64
- DestTxHash string
+ DestBlockHeight
sql.NullI
nt64
+ DestBlockHash s
ql.NullS
tring
+ DestTxIndex
sql.NullI
nt64
+ DestTxHash s
ql.NullS
tring
Status uint8
CreatedAt types.Timestamp
UpdatedAt types.Timestamp
Status uint8
CreatedAt types.Timestamp
UpdatedAt types.Timestamp