We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a01f5ab commit 544d883Copy full SHA for 544d883
database/models/transaction.go
@@ -27,6 +27,8 @@ type Transaction struct {
27
Type int
28
BlockIndex uint32
29
Metadata []byte
30
+ Fee uint64
31
+ TTL uint64
32
}
33
34
func (Transaction) TableName() string {
database/plugin/metadata/sqlite/transaction.go
@@ -63,6 +63,8 @@ func (d *MetadataStoreSqlite) SetTransaction(
63
Type: tx.Type(),
64
BlockHash: point.Hash,
65
BlockIndex: idx,
66
+ Fee: tx.Fee(),
67
+ TTL: tx.TTL(),
68
69
if tx.Metadata() != nil {
70
tmpMetadata := tx.Metadata().Cbor()
0 commit comments