Function sp_io::storage::rollback_transaction
source · pub fn rollback_transaction()
Expand description
Rollback the last transaction started by start_transaction
.
Any changes made during that transaction are discarded.
§Panics
Will panic if there is no open transaction.