mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-23 00:34:21 +01:00
Convert between int64 (in postgresql) and uint64 (short channel id)
This commit is contained in:
@@ -28,7 +28,7 @@ func (cfe *copyFromEvents) Values() ([]interface{}, error) {
|
||||
event := cfe.events[cfe.idx]
|
||||
values := []interface{}{
|
||||
event.TimestampNs,
|
||||
event.ChanIdIn, event.ChanIdOut,
|
||||
int64(event.ChanIdIn), int64(event.ChanIdOut),
|
||||
event.AmtInMsat, event.AmtOutMsat}
|
||||
return values, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user