referrerpolicy=no-referrer-when-downgrade

Function sp_io::storage::commit_transaction

source ·
pub fn commit_transaction()
Expand description

Commit the last transaction started by start_transaction.

Any changes made during that transaction are committed.

§Panics

Will panic if there is no open transaction.