pub fn accept(msg: &[u8], error_code: i64) -> !
Accept the originating transaction and commit any changes the hook made