Add log index to Bite

This commit is contained in:
Rob Mulholand
2018-10-22 12:14:43 -05:00
parent ea3de51792
commit 495f39abb8
8 changed files with 20 additions and 10 deletions
+4 -2
View File
@@ -57,7 +57,7 @@ var EthBiteLog = types.Log{
TxHash: common.HexToHash(TemporaryBiteTransaction),
TxIndex: 111,
BlockHash: TemporaryBiteBlockHash,
Index: 0,
Index: 7,
Removed: false,
}
@@ -69,6 +69,7 @@ var BiteEntity = bite.BiteEntity{
Tab: biteTab,
Flip: biteFlip,
IArt: biteIArt,
LogIndex: EthBiteLog.Index,
TransactionIndex: EthBiteLog.TxIndex,
Raw: EthBiteLog,
}
@@ -78,9 +79,10 @@ var BiteModel = bite.BiteModel{
Urn: biteLadString,
Ink: biteInk.String(),
Art: biteArt.String(),
IArt: biteIArt.String(),
Tab: biteTab.String(),
NFlip: biteFlip.String(),
IArt: biteIArt.String(),
LogIndex: EthBiteLog.Index,
TransactionIndex: EthBiteLog.TxIndex,
Raw: biteRawString,
}