handle idempotency on purse deletion
This commit is contained in:
parent
7212cd12bc
commit
1e7e0058e8
@ -54,7 +54,13 @@ INSERT INTO purse_deletion
|
||||
,purse_sig)
|
||||
VALUES
|
||||
(in_purse_pub
|
||||
,in_purse_sig);
|
||||
,in_purse_sig)
|
||||
ON CONFLICT DO NOTHING;
|
||||
|
||||
IF NOT FOUND
|
||||
THEN
|
||||
RETURN;
|
||||
END IF;
|
||||
|
||||
-- store purse decision
|
||||
INSERT INTO purse_decision
|
||||
|
Loading…
Reference in New Issue
Block a user