forked from cerc-io/ipld-eth-server
(VDB-380) Create separate table for ilks
- reference ilk by foreign key every place it's used
This commit is contained in:
@@ -75,7 +75,7 @@ var EthPitFileIlkLineLog = types.Log{
|
||||
|
||||
var rawPitFileIlkLineLog, _ = json.Marshal(EthPitFileIlkLineLog)
|
||||
var PitFileIlkLineModel = ilk2.PitFileIlkModel{
|
||||
Ilk: "0x66616b6520696c6b000000000000000000000000000000000000000000000000",
|
||||
Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000",
|
||||
What: "line",
|
||||
Data: "0.000001000000000000",
|
||||
LogIndex: EthPitFileIlkLineLog.Index,
|
||||
@@ -102,7 +102,7 @@ var EthPitFileIlkSpotLog = types.Log{
|
||||
|
||||
var rawPitFileIlkSpotLog, _ = json.Marshal(EthPitFileIlkSpotLog)
|
||||
var PitFileIlkSpotModel = ilk2.PitFileIlkModel{
|
||||
Ilk: "0x66616b6520696c6b000000000000000000000000000000000000000000000000",
|
||||
Ilk: "66616b6520696c6b000000000000000000000000000000000000000000000000",
|
||||
What: "spot",
|
||||
Data: "0.000000000000001000000000000",
|
||||
LogIndex: EthPitFileIlkSpotLog.Index,
|
||||
|
||||
Reference in New Issue
Block a user