Skip to content

Fix typo in ins trigger comment #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NBXplorer/DBScripts/002.Model.sql
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ END
$$;
CREATE TRIGGER ins_after_insert_trigger AFTER INSERT ON ins REFERENCING NEW TABLE AS new_ins FOR EACH STATEMENT EXECUTE PROCEDURE ins_after_insert_trigger_proc();

-- When an ins is inserted, it shoud sent the spent_tx_id and spent_id of the outs it spends.
-- When an ins is inserted, it should set the spent_tx_id and spent_id of the outs it spends.
CREATE OR REPLACE FUNCTION ins_after_insert2_trigger_proc() RETURNS trigger LANGUAGE plpgsql AS $$
DECLARE
r RECORD;
Expand Down