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

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.