Function sp_io::storage::rollback_transaction[][src]

pub fn rollback_transaction()

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.