Skip to content

Commit e3e19bb

Browse files
authored
Merge pull request #487 from shutter-network/fix-duplicate-sigs
Don't err on duplicate slot decryption signatures
2 parents e964794 + f548dc3 commit e3e19bb

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rolling-shutter/keyperimpl/gnosis/database/gnosiskeyper.sqlc.gen.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rolling-shutter/keyperimpl/gnosis/database/sql/queries/gnosiskeyper.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ WHERE eon = $1;
7575

7676
-- name: InsertSlotDecryptionSignature :exec
7777
INSERT INTO slot_decryption_signatures (eon, slot, keyper_index, tx_pointer, identities_hash, signature)
78-
VALUES ($1, $2, $3, $4, $5, $6);
78+
VALUES ($1, $2, $3, $4, $5, $6)
79+
ON CONFLICT DO NOTHING;
7980

8081
-- name: GetSlotDecryptionSignatures :many
8182
SELECT * FROM slot_decryption_signatures

0 commit comments

Comments
 (0)