Skip to content

Commit 19d7908

Browse files
committed
fix sign on insert
1 parent 183efdb commit 19d7908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/storage/clickhouse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ func (c *ClickHouseConnector) InsertBlockData(data []common.BlockData) error {
12641264
}
12651265

12661266
sign := int8(1)
1267-
if block.Sign != 1 {
1267+
if block.Sign == -1 {
12681268
sign = block.Sign
12691269
}
12701270
insertTimestamp := time.Now()

0 commit comments

Comments
 (0)